Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 4909

Troubleshooting • Re: watchdog process restart

$
0
0
You will need to stop watchdog first, then stop your server.

The “pidfile=…” configuration option points to a file with a process number in it. Every “timeout=“ seconds, watchdog looks in the process table for that number. As long as the process runs, it keeps the same number in the table.

When you stop your server, the process is terminated and the pidfile is removed. From that moment on, watchdog fails a few times consecutively, and finally reboots the machine.

If you stop watchdog before stopping your server, you should be ok.

https://manpages.debian.org/bookworm/wa ... .8.en.html
https://manpages.debian.org/bookworm/wa ... .5.en.html

Statistics: Posted by epoch1970 — Tue Sep 03, 2024 6:19 pm



Viewing all articles
Browse latest Browse all 4909

Trending Articles