1

I tried to configure the watchdog on several Pi's with the latest Raspbian by adding "dtpatam=watchdog=on" to /boot/config.txt and adding a file called /etc/watchdog.conf with:

watchdog-device = /dev/watchdog
watchdog-timeout = 15
max-load-1 = 24
interface = wlan0
min-memory      = 1
allocatable-memory  = 1

However this does not seem to work although messages like this from the watchdog daemon appear in /var/log/syslog:

May 17 00:29:43 doorbell watchdog[449]: device wlan0 did not receive anything since last check

I know that an alternative is to use /etc/systemd/system.conf but this does not have the same features, such as monitoring interfaces, files, memory levels, etc. However it does at least reset the Pi when the CPU load gets too high.

Is there a way to get watchdog.conf to actually reset the Pi when things go wrong?

WhyNine
  • 33
  • 4
  • This might help: Rpi freezes every now and then, how to fix it with a watchdog? Asked 2 years, 11 months ago Viewed 7k times https://raspberrypi.stackexchange.com/questions/99584/rpi-freezes-every-now-and-then-how-to-fix-it-with-a-watchdog/99587#99587 – tlfong01 May 18 '22 at 01:42
  • @tlfong01, yes I read that but it only uses systemd to control the watchdog and not the watchdog.conf file, so lacks the flexibility I am looking for. – WhyNine May 18 '22 at 08:48

0 Answers0