Show by Label

Saturday, June 4, 2016

Update on Watchdogs

Because so many things changed after the most recent firmware and kernel updates, I wanted to find out what the "new" rules of engagement were for the various watchdogs.

I did not get any replies or inputs, so here is what I found out:

https://www.raspberrypi.org/forums/viewtopic.php?t=147501&p=972709

After all this time, the kernel folks and the Foundation finally got to a point where it all starts to make sense.
Here is a good summary on the Watchdogs: watchdog

Note that in the text is says to set the watchdog to 20 seconds, this will not work on the Rspberry Pi, the maximum is 10 seconds. This is limited by the timer hardware the RPi uses.

So to activate:


In /boot/config.txt add:
watchdog=on
In /etc/systemd/systemd.conf, change #RuntimeWatchdogSec= to:
RuntimeWatchdogSec=10s

Enjoy!

No comments:

Post a Comment