I have Pi-hole v5.16.2 FTL v5.22 installed on Ubuntu Server 22.04.2 LTS. I've had this instance installed for quite a few months now, and I've never seen this error before:
Since discovering this issue I've not changed anything, so I'm open to advice. I did think about it being possibly solvable by altering the retention period, however according to this post that shouldn't be an issue.
Note that the warning is not telling you that the query database or the FTL log is using 92% of your disk space; it is telling you that the total disk space available is less than 10% of the total.
Thank you for both of the responses, I've ran ncdu and found the culprit. I was just confused at first as it mentioned specifically the log and db file but thank you for the explanation