[systemd-devel] StartLimitAction=none and Watchdog

Michael Olbrich m.olbrich at pengutronix.de
Mon Feb 20 09:43:55 PST 2012


Hi,

I noticed a problem with the current watchdog code. When the watchdog for a
service triggers then the service is stopped with service_enter_dead().
Then the restart logic takes over and restarts the service. However, if the
rate limit is exceeded and StartLimitAction=none, then the service just
stays dead, but the last running process is still there.
This is not visible when restarting, because that seems to kill any
remaining processes, but I don't think this is the right thing to do.
I guess calling service_enter_dead() is not enough, but I don't know what
to do instead.

Regards,
Michael

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |


More information about the systemd-devel mailing list