-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Query Log Empty #1374
Comments
In your debug log, the https://pi-hole.net/2017/03/28/the-pi-hole-swag-store-is-now-open/#more-9297 |
This has been reported extremely often here, so I close this issue as duplicate. |
I found exactly 1 similar issue #1097 on a system with low resources. I am running Pi-Hole on an E3-1230v5 with 64GB RAM that should not be able to handle processing the logs fast without any issues. How do I increase the timeout for viewing the Query Log? Because even viewing a single client with
|
Okay, so you really made me looking that up for you. Just search through the issues for something like "Query Log" and you will immediately find:
and there are more. Keep in mind that this is the "core" repository, but the problem you are reporting is connected the the web frontend. Hence, you can find another dozens of issue reports there. Furthermore, we have an FAQ here:
Even on beefy hardware, it may just be PHP's soft-limits on the resources that bites you.
Have a look at your |
Regarding the grep performance: dnsmasq logs actions such as the initial query and the result separately, and the result does not contain the requester's IP address. Therefore, we have to parse the whole log in order to find all the data the query log needs. The FTL backend speeds this up by parsing and storing the data as dnsmasq outputs the log, making it much quicker than the PHP backend which needs to parse it every time. |
@DL6ER thanks for looking that up, but none of those are my issue. I have no Ajax errors and the error message pops up within a second. The error.log does reveal the real issue:
Increasing the |
All of them are, but I have to admit that I changed the wording of the error lately, so it is just not obvious that it is in fact the same issue. And that you see it within a second only means that you have a much more powerful CPU in the box than the average user (-> Raspberry Pi). |
How familiar are you with the codebase?:
5
[BUG | ISSUE] Expected Behaviour:
I should see recent queries in the Query Log
[BUG | ISSUE] Actual Behaviour:
The Query Log view is empty, an error is shown instead:
[BUG | ISSUE] Steps to reproduce:
Just click on the Query Log in the left menu.
(Optional) Debug token generated by
pihole -d
:w9tp1fzp6a
Pihole seems up to date.
The log is 29M and does contain all the DNS queries.
The text was updated successfully, but these errors were encountered: