Please follow the below template, it will help us to help you!
If you are Experiencing issues with a Pi-hole install that has non-standard elements (e.g you are using nginx instead of lighttpd, or there is some other aspect of your install that is customised) - please use the Community Help category.
Expected Behaviour:
I'm seeing alerts in the diagnosis that it is at 99% space. Specifically complaingin about the /var/log/pihole/pihole-ftl.log.
And yet when I look directly on the machine (LXC under Proxmox) it was (at the time I started) with 80% free. I cleared the alert as it seemed to be from a day ago, and it came back.
Machine is a 15gb disk, and I allow 45 days in the pihole-ftl.conf. With the pihole-ftl.db at about 6.9gb.
It's currently generating a debug log - which has essentially stopped it I think with high memory and high cpu usage.
Debug Token:
[Replace this text with the debug token provided from running pihole -d (or running the debug script through the web interface]
Waiting for token to be created.
Pi-hole checks free disk space every time it writes to logs or database.
At the time the warning was generated, Pi-hole identified that your disk was 99% full. This check happened while Pi-hole was writing into /var/log/pihole/pihole-ftl.log. It doesn't mean necessarily this file was too big. It means the disk was almost full.
If the message is reappearing, some files are growing faster and the disk is already more 90% full. Maybe the files are not related to Pi-hole. You need to check the whole filesystem.
Currently reporting 72% used. It was 80% used before. I can't see anything using it, and I'd like to see in the DB if it's ever been able to reduce the number of entries
I had a look at the db. The queries table. And it did look like it only had entires till Decemberish. Which is similar to the 45 days I’m happy to keep.
Are there other tables with lots of data as well?
I’m not sure why that top machine is so noisy. It hosts my home assistant and other home automation type containers.
33 clients isn't that many, but all of your top clients have been very busy during the last 24 hours. On average, I'd expect about 1,000 to 5,000 queries per client per day.
Let's see whether those counts would relate to only a few domains.
What's the result of
Can’t I exclude local domain traffic? Or the really noisy machines? Ie I have influx (as influxdb) used a heap by a bunch of machines. If it possible to exclude that from being stored in the db and logged?
No, as that is about filtering queries for display in the webserver UI
(via webserver.api.excludeClients and webserver.api.excludeDomains).
Your top blocked domain counts seem reasonable (perhaps a little chatty on the microsoft side), but your top allowed domains are all for plain/non-dot local names?
Why would your clients request local names up to 30 times per minute?
Would they perhaps not cache DNS replies?
where <hh:mm> limits output to a specific hour and 1-minute interval (e.g. “Jan 17 07:10.*aragorn” to extract all entries for aragorn from today 07:10:00 to 07:10:59).
Are you saying you've manipulated the output from top-domains before sharing it here?
Or is that output you've shared above what was actually returned by echo ">top-domains >quit" | nc localhost 4711?