-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Upgrade from diginc/pi-hole to pihole/pihole docker [BROKEN PERFORMANCE] #348
Comments
I believe I found the issue; which was my US DNS servers in my router's WAN settings in conjunction with the new Conditional Forwarding settings in the new Pihole docker image. This pointed out a fault in my router settings (which must have been like that for some time). I updated my US DNS servers to Cloudflare in my router and it appears to have resolved my issue so far. This was causing lb._dns_sd's to perform a routing loop which would then kill the connection temporarily. |
I believe I found the issue; which was my UpStream DNS servers in my router's WAN settings in conjunction with the new Conditional Forwarding settings in the new Pihole docker image. This pointed out a fault in my router settings (which must have been like that for some time), but never caused an issue with the previous version as it didn't implement CF. I updated my US DNS servers to Cloudflare in my router and it appears to have resolved my issue so far. This was causing lb._dns_sd's to perform a routing loop which would then kill the connection temporarily. |
Do the logs indicate any abnormal behavior happening, like restarting of services, errors, or other thrashing? Docker offers a stats command to show CPU / Mem / Network / Storage usage too, maybe worth seeing if The UID/GID being different inside and outside of a container is to be expected, I can't imagine it causing a stability problem like you're describing. You could always run without volumes to eliminate the file system / volumes on the host wrecking the container. Edit: woops, saw your reply after submitting - page didn't update from when I opened the tab earlier. Glad you got it figure dout. |
I did find one thing in the logs, but nothing with the container crashing, or anything of the sort. It was getting stuck in a routing loop with Anywho, my US DNS servers on my router was previously set to the Pihole device and I have updated that to point to Cloudflare DNS servers ( I haven't had any issues since making that change so far. If I experience it again, I will check the logs again and repost. |
1 similar comment
I did find one thing in the logs, but nothing with the container crashing, or anything of the sort. It was getting stuck in a routing loop with Anywho, my US DNS servers on my router was previously set to the Pihole device and I have updated that to point to Cloudflare DNS servers ( I haven't had any issues since making that change so far. If I experience it again, I will check the logs again and repost. |
Github web interface is broken :) I saw your update through email |
This is a...
Description
I recently decided to try and make the jump to the new
pihole/pihole:latest
(v4.0) build in docker from thediginc/pi-hole:debian
(v3.3.1). I have had to revert back because the new version has terrible performance issues.Main issue is that it will randomly stop processing queries or get hung maybe? This will last ~1m or so, and it doesn't happen at specific intervals it will just randomly occur.
After reading through another issue #328, regarding the addition of custom
PUID
andPGID
, I do notice that with the new version two new files, "pihole-FTL.conf
" and "regex.list
" are created in the directory owned bysystemd-bus-proxy:ssh_keys
.On CentOS,
id 999
issystemd-bus-proxy
. Now, I created a new empty directory and ran this new container against it and same ownership was applied and ran into the same issues with a new/empty config. Everything else remains owned byroot:root
.I was initially running on CentOS's base repo docker install (v1.17), but I tried removing and installing from Docker's repo docker-ce and same thing still happens however it does seem to resolve queries quicker.
Expected Behavior
Fast, consistent DNS queries without interruptions.
Actual Behavior
Inconsistent DNS queries that can take upwards of ~1m to resolve, even from cached queries. Causing sites to take a very long time to load.
Possible Fix
Not sure if this is possibly a permission related issue? Not sure what to search for in the logs that might cause this issue. Tried grep'ing for error and didn't find anything relevant.
Steps to Reproduce and debugging done
e.g. your docker run command, pages to visit, CLI commands you ran
Run command with issues:
Run command for old docker that this issue does not occur:
Debug steps I have tried
docker run
example in the readme (removing any customizations I added)Context and extra information
Inconsistent connectivity in a way, as I am unable to resolve domains from time to time. So I keep returning to the old diginc/pi-hole image. I now have separate volumes that I am using to switch back and forth to test.
Your Environment
CentOS Linux release 7.5.1804 (Core) 3.10.0-862.14.4.el7.x86_64
Docker version 18.06.1-ce, build e68fc7a
Docker version 1.17
something from CentOS repo'sx86/64
The text was updated successfully, but these errors were encountered: