[pve-devel] systemd notify/watchdog
    Alexandre DERUMIER 
    aderumier at odiso.com
       
    Wed Mar  4 06:15:28 CET 2015
    
    
  
systemd have a watchdog feature 
http://man7.org/linux/man-pages/man3/sd_watchdog_enabled.3.html
which could be great for some services, like pvestatd. (which sometimes can freeze which slow/bad storage stats)
The idea is that the application need to send notifify at regular interval to systemd,
http://www.freedesktop.org/software/systemd/man/sd_notify.html
https://lists.debian.org/debian-ctte/2013/12/msg00230.html
If systemd don't receive the notify after some time, it can restart the service.
    
    
More information about the pve-devel
mailing list