Unspecific "crash"

Hi

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.

Debug Token:

https://tricorder.pi-hole.net/984mq6y1l3

Additional Info:

I have docker running for about 10 days now. The problem started after about 4 days ago.

Suspicions:

In the Debug I found:

*** [ DIAGNOSING ]: Pi-hole processes
[✗] lighttpd daemon is inactive
[✗] pihole-FTL daemon is inactive

I don't know if this is a problem, since I never debugged the "working version".

Thank you very much for your assistance
akrea

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.

Hi diginc

Thanks for you reply. The docker-compose looks like:

pihole:
        image: pihole/pihole
        container_name: pihole
        domainname: ${DOMAINNAME}
        hostname: pihole
        network_mode: "host"
        environment:
            - ServerIP=192.168.0.10
            - TZ=${TIMEZONE}
            - WEBPASSWORD=${STEFANPW1}
            - PROXY_LOCATION=pihole
            - VIRTUAL_HOST=pihole.${DOMAINNAME}
            - VIRTUAL_PORT=80
            - WEB_PORT=9050
            - DNS1=127.0.0.1
            - DNS2=1.1.1.1
        ports:
            - 53:53/tcp
            - 53:53/udp
            - 67:67/udp
            - 8182:80
            - 8183:443
        volumes:
            - /var/hda/files/pihole/etc-pihole:/etc/pihole
            - /var/hda/files/pihole/etc-dnsmasqd:/etc/dnsmasq.d
        cap_add:
            - NET_ADMIN
        restart: unless-stopped

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.

Thanks

change that to 1.0.0.1

add a section with:

dns:
  - 127.0.0.1
  - 1.1.1.1

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!:clap::clap::clap: