First of all: thank you very much for your work and your support. Pihole is a great software! Few days ago a problem started showing.
Expected Behaviour:
Pihole running as always.
Actual Behaviour:
Apporximately once a day pihole seems to completely consume the server (indication: read/write led is continously flickering - SSD). So far only before noon (if that info helps at all). When this happens nothing works (pihole is DNS an DHCP). When I disable pihole (DHCP and DNS on router) the system is stable.
Can you share your docker run or docker-compose config?
At first glance It appeared your pi-hole servers had 127.0.0.1 set which is incorrect. the container (/etc/resolv.conf) is what should have 127.0.0.1, not pi-hole/dnsmasq. The difference being docker run --dns 127.0.0.1 sets to resolv.conf and docker run -e DNS1=1.1.1.1 sets to dnsmasq.
Remove any -e DNS#=127.0.0.1 settings you may have and only use --dns=127.0.0.1.
Note that till 1 hour ago I still had traefik config for pihole (for WAN access) active which does not work anyway when WEB_PORT is enabled (AFAIK). Besides your analysis, I don't know if this may has caused issues too.
I applied the changes. I'll let you know if there are still issues. If you don't hear anything your input did the trick. Thank you very much for your support!