Home Assistant crashes / AdGuard unresponsive on raspberry pi 3

Hi everyone,

I have this re-occurring issue with my installation of Home Assistant onto my old Raspberry Pi 3 64bit that it either gets rebooted, crashes, or otherwise unresponsive and I only noticed it ever since I installed AdGuard add-on and configured it for my home router.

The reason I now notice it from time to time is that I don’t have Internet and that’s because the AdGuard DNS server on HA is unresponsive. It can happen once a week or once every 3 weeks, so very sporadic.

I tried replacing SD cards, and I tried different installations of Home Assistant too (as in, downgrading to older, potentially more stable installs) but the issue still repeats.

Is it a memory issue? the Raspberry Pi 3 model I have has 1GB and I have several add-ons:

  • AdGuard
  • Tailscale
  • File editor
  • Terminal SSH

and I also have the Zigbee Home Automation integration and maybe 8 others (speed test, sun, mobile app, google cast, HACS and a few integrations that aren’t initialized like failed setup for Android TV remote and Broadlink)

Here are the logs I collected when this was happening:

Host Logs:

2024-08-29 08:33:02.128 homeassistant systemd[1]: docker-5a16ecf3402e7644008f88de7204b970a2bbd021451681d6dfd9ae2868f0f425.scope: A process of this unit has been killed by the OOM killer.

2024-08-29 08:33:02.129 homeassistant systemd[1]: docker-5a16ecf3402e7644008f88de7204b970a2bbd021451681d6dfd9ae2868f0f425.scope: A process of this unit has been killed by the OOM killer.

2024-08-29 08:33:03.211 homeassistant kernel: nf_conntrack: nf_conntrack: table full, dropping packet

2024-08-29 08:33:26.329 homeassistant kernel: audit: type=1334 audit(1724920396.717:1072): prog-id=61 op=UNLOAD

2024-08-29 08:33:26.329 homeassistant kernel: usb 1-1.5: USB disconnect, device number 5

2024-08-29 08:33:26.330 homeassistant kernel: usb 1-1.5: new full-speed USB device number 6 using dwc_otg

2024-08-29 08:33:26.331 homeassistant kernel: usb 1-1.5: New USB device found, idVendor=1cf1, idProduct=0030, bcdDevice= 1.00

2024-08-29 08:33:26.331 homeassistant kernel: usb 1-1.5: New USB device strings: Mfr=1, Product=2, SerialNumber=3

2024-08-29 08:33:26.331 homeassistant kernel: usb 1-1.5: Product: ConBee II

2024-08-29 08:33:26.332 homeassistant kernel: usb 1-1.5: Manufacturer: dresden elektronik ingenieurtechnik GmbH

2024-08-29 08:33:26.332 homeassistant kernel: usb 1-1.5: SerialNumber: DE2429465

2024-08-29 08:33:26.333 homeassistant kernel: cdc_acm 1-1.5:1.0: ttyACM0: USB ACM device

2024-08-29 08:33:26.334 homeassistant kernel: usb 1-1.5: USB disconnect, device number 6

2024-08-29 08:33:26.334 homeassistant kernel: usb 1-1.5: new full-speed USB device number 7 using dwc_otg

2024-08-29 08:33:26.336 homeassistant kernel: usb 1-1.5: New USB device found, idVendor=1cf1, idProduct=0030, bcdDevice= 1.00

2024-08-29 08:33:26.337 homeassistant kernel: usb 1-1.5: New USB device strings: Mfr=1, Product=2, SerialNumber=3

2024-08-29 08:33:26.338 homeassistant kernel: usb 1-1.5: Product: ConBee II

2024-08-29 08:33:26.339 homeassistant kernel: usb 1-1.5: Manufacturer: dresden elektronik ingenieurtechnik GmbH

2024-08-29 08:33:26.340 homeassistant kernel: usb 1-1.5: SerialNumber: DE2429465

2024-08-29 08:33:26.343 homeassistant kernel: cdc_acm 1-1.5:1.0: ttyACM0: USB ACM device

2024-08-29 08:33:26.344 homeassistant kernel: veth49dd62f: renamed from eth0

2024-08-29 08:33:26.344 homeassistant kernel: hassio: port 7(vethee9d22f) entered disabled state

2024-08-29 08:33:26.344 homeassistant kernel: hassio: port 6(vethad52264) entered disabled state

AdGuard DNS logs


2024/08/29 10:12:16.181335 [info] dnsproxy: entering tcp listener loop on [::1]:53

2024/08/29 11:02:37.603949 [error] dnsproxy: 172.30.32.3:53: response received over udp: "exchanging with 172.30.32.3:53 over udp: read udp 172.30.32.1:40327->172.30.32.3:53: i/o timeout"

2024/08/29 11:02:37.610480 [error] dnsproxy: upstream 172.30.32.3:53 failed to exchange ;55.68.168.192.in-addr.arpa. IN PTR in 2.044809467s: exchanging with 172.30.32.3:53 over udp: read udp 172.30.32.1:40327->172.30.32.3:53: i/o timeout

2024/08/29 11:02:38.609123 [error] dnsproxy: 172.30.32.3:53: response received over udp: "exchanging with 172.30.32.3:53 over udp: read udp 172.30.32.1:56334->172.30.32.3:53: i/o timeout"

2024/08/29 11:02:38.609266 [error] dnsproxy: upstream 172.30.32.3:53 failed to exchange ;55.68.168.192.in-addr.arpa. IN PTR in 2.003501523s: exchanging with 172.30.32.3:53 over udp: read udp 172.30.32.1:56334->172.30.32.3:53: i/o timeout

[11:12:28] INFO: Service Adguard Home exited with code 256 (by signal 9)

[11:12:30] INFO: Starting AdGuard Home server...

2024/08/29 11:12:36.124353 [info] AdGuard Home, version v0.107.51

2024/08/29 11:32:40 [alert] 340#340: worker process 376 exited on signal 9

s6-supervise adguard: warning: finish script lifetime reached maximum value - sending it a SIGKILL

s6-supervise nginx: warning: finish script lifetime reached maximum value - sending it a SIGKILL

In Home Assistant → System → Hardware: my processor is averaging 15% and the memory is at 66% (0.6 / 1GB)