-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Higher demands on resources #1763
Comments
I ended up rolling back to 2024.07.0 for stability. |
Confirmed, reverting to v2024.07.0 returns stability, but the new image must be deleted completely. |
Initial questions that come to mind:
|
Supplementary - do you still see this same behaviour if you set the config value I've just tagged |
I noticed the problem even when the www panel was disconnected, i.e. when it was only answering DNS queries. Otherwise, for me it's running on a reverse proxy, so only port 80 is coming from the Pi-hole |
Would you be willing to try another image? You'll need to build it yourself locally.
This will create a local image named I'm not 100% certain that you will see any improvements here, but would like to explore as many possibilities as possible. Could you also tell me what monitoring software you are using? I'd like to try on my own machine |
I added it to Steps to Reproduction. I mean, if you take any Raspberry or VM with Ubuntu and run it, you get the same setup as I have here including Prometheus. That is, without the custom settings and data. I have 6 Pi-holes in 3 locations, always master and slave, I'll try the local build on one and let you know how it turns out. |
So the build works nicely, but it's the same. I would guess that the problem would be somewhere in CORE or FTL. I also noticed an interesting thing, on one site I reverted to v2024.07.0 and left the slave on the last one, there is no monitoring going on so it stalls. But the slave stopped getting queries and everything is being handled by the old version. I tried the new version and it is responding. But I guess it's slow. So nobody asks him. |
Core is basically the installation wrapper, the real workhorse here is FTL. Can you maybe get some output from |
If you look at it in Tree mode (F5), what do we see? I'll admit I only half know what I'm looking for here. Tagging @DL6ER in case he can see any clues |
I didn't find anything interesting behind F5, but the docker stats pihole shows And then there's this, but I don't really understand:
|
There are a lot of web workers there, too - do you have something polling the API? |
No, I don't think I'm using anything through the API. I just normally have it open in one window and see what it does. But is the nginx proxy in front of it because of Let's Encrypt SSL, maybe those queries are breaking up somehow? |
also observing database thread constantly high ressource demand. i was required to set shm_size: "2G" because: RAM shortage (/dev/shm) ahead: 99% used
/dev/shm: 268.1MB used, 268.4MB total, FTL uses 268.1MB
Set the shared memory size to 1G
Resizing "FTL-queries" from 1007648768 to (17997824 * 56) == 1007878144 (/dev/shm: 1.0GB used, 1.1GB total, FTL uses 1.0GB)
WARNING: RAM shortage (/dev/shm) ahead: 93% is used (/dev/shm: 1.0GB used, 1.1GB total, FTL uses 1.0GB)
add_message(type=7, message=/dev/shm) - SQL error step DELETE: database is locked
Error while trying to close database: database is locked
Resizing "FTL-queries" from 1007878144 to (18001920 * 56) == 1008107520 (/dev/shm: 1.0GB used, 1.1GB total, FTL uses 1.0GB)
WARNING: RAM shortage (/dev/shm) ahead: 93% is used (/dev/shm: 1.0GB used, 1.1GB total, FTL uses 1.0GB) |
Its Status system usage, not pi hole alone. |
Thanks for getting back to me. At this point, Pi-Hole v6 is unusable for me. I will uninstall and try it again once it matures and solves the current problems. |
I did a downgrade to 2024.07.0 on the master DNS and stayed on 2025.03.0 on the slave. OrangePi for slaves are less busy (less other applications), anyway I observe that most queries are handled by older Pi-holes. |
Versions
Platform
Expected behavior
Hi, in the latest version you've stretched the system resource requirements a bit and although it looks great, I can no longer fit a Pi-hole on one OrangePi along with Prometheus monitoring. Which used to be my favorite setup.
Actual behavior / bug
2025-02-25 23:00:02.093 CET [53/T189] ERROR: Cannot receive UDP DNS reply: Timeout - no response from upstream DNS server
Steps to reproduce
Steps to reproduce the behavior:
We will install Orange Pi Zero2 and Armbian. Deploy Pihole via Little-IaC (Ansible) in the following way:
ansible-playbook -l orange orangepi.yaml
where the orange file will contain this setup:
Debug Token
Screenshots
Additional context
Until Sunday it worked perfectly, today they don't fit together. The new version was only on Pi-hole.
The text was updated successfully, but these errors were encountered: