OPNsense Forum

English Forums => 25.1, 25.4 Production Series => Topic started by: blacksteel1288 on May 07, 2025, 11:00:34 PM

Title: can i delete /var/cache/unbound.duckdb directory?
Post by: blacksteel1288 on May 07, 2025, 11:00:34 PM
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
Title: Re: can i delete /var/cache/unbound.duckdb directory?
Post by: Patrick M. Hausen on May 07, 2025, 11:20:29 PM
Disable the query log? Services > Unbound DNS > Advanced ...
Title: Re: can i delete /var/cache/unbound.duckdb directory?
Post by: blacksteel1288 on May 07, 2025, 11:53:46 PM
I did that, but the /var/cache/unbound.duckdb directory is still there.  ok to delete it?
Title: Re: can i delete /var/cache/unbound.duckdb directory?
Post by: Patrick M. Hausen on May 07, 2025, 11:55:44 PM
I guess so 🙂
Title: Re: can i delete /var/cache/unbound.duckdb directory?
Post by: blacksteel1288 on May 08, 2025, 04:51:49 PM
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