[systemd-devel] Question about WATCHDOG

Sietse van Zanen sietse at wizdom.nu
Fri Jan 11 08:03:45 UTC 2019


Hi,

I am writing a daemon script which uses sd_notify watchdog. This works fine, system will kill the if the process doesn't notify.

However, I have seen in 1 occasion where, due to a programming error, the script got stuck in a read and was not killed where it should have been.
So my question is, what does systemd actually do when the watchdog expires, which signal does it send?

-Sietse
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20190111/b8392550/attachment.html>


More information about the systemd-devel mailing list