can i delete /var/cache/unbound.duckdb directory?

Started by blacksteel1288, May 07, 2025, 11:00:34 PM

Previous topic - Next topic
This directory seems to be taking up a lot of disk space.  13G for the query.csv file.

1.  Can I delete it?
2.  How can I stop it from being rebuilt & growing?

root@xyz:/var/cache/unbound.duckdb # ls -lh
total 13917196
-rw-r--r--  1 unbound unbound  1.9K May  6 09:31 client.csv
-rw-r--r--  1 unbound unbound  214B May  6 09:32 load.sql
-rw-r--r--  1 unbound unbound   13G May  6 09:32 query.csv
-rw-r--r--  1 unbound unbound  1.5K May  6 09:32 schema.sql

Disable the query log? Services > Unbound DNS > Advanced ...
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)

I did that, but the /var/cache/unbound.duckdb directory is still there.  ok to delete it?

I guess so 🙂
Deciso DEC750
People who think they know everything are a great annoyance to those of us who do. (Isaac Asimov)

oddly, today the file is a different size (smaller) without doing a delete.  (the unbound logging was off / has been off)

root@xyz:/var/cache/unbound.duckdb # ls -lh
total 2107724
-rw-r--r--  1 unbound unbound  1.4K May  8 08:44 client.csv
-rw-r--r--  1 unbound unbound  214B May  8 08:45 load.sql
-rw-r--r--  1 unbound unbound  2.0G May  8 08:45 query.csv
-rw-r--r--  1 unbound unbound  1.5K May  8 08:45 schema.sql

not sure what is going on here