Hi Marko,<br><br>On Sunday, March 1, 2015, Hoyer, Marko (ADITG/SW2) <<a href="mailto:mhoyer@de.adit-jv.com">mhoyer@de.adit-jv.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
I ran into a use case where the activation phase of a service takes significantly longer than the desired watchdog period (Activating: 10-20secs, Watchdog: 1-5secs).<br>
<br>
I found out that the watchdog features starts not before the service is in state START_POST. This means for my use case that the system is blind for 10-20secs (whatever I set as startup timeout here).<br>
<br>
Is there any way to activate the watchdog feature already in phase ACTIVATING?</blockquote><div><br></div><div>Why would you need this? Watchdog is to prevent system being stuck somewhere. If activation fails within TimeoutStartSec=, systemd will put the service in "failed to activate" state anyways.</div><div><br></div><div>Is waiting 20 seconds to detect the freeze is too much for your case? <span></span>Is it not possible to lower the activation time?</div><div></div><div><br></div><div>Umut</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I guess there should be a second watchdog configuration parameter to allow services to use different values for the states ACTIVATING and RUNING. Otherwise, people who are not interested in having a watchdog observation during startup will run into troubles ...<br>
<br>
Any opinions on that?</blockquote><div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Best regards<br>
<br>
Marko Hoyer<br>
<br>
Advanced Driver Information Technology GmbH<br>
Software Group II (ADITG/SW2)<br>
Robert-Bosch-Str. 200<br>
31139 Hildesheim<br>
Germany<br>
<br>
Tel. +49 5121 49 6948<br>
Fax +49 5121 49 6999<br>
<a href="javascript:;" onclick="_e(event, 'cvml', 'mhoyer@de.adit-jv.com')">mhoyer@de.adit-jv.com</a><br>
<br>
ADIT is a joint venture company of Robert Bosch GmbH/Robert Bosch Car Multimedia GmbH and DENSO Corporation<br>
Sitz: Hildesheim, Registergericht: Amtsgericht Hildesheim HRB 3438<br>
Geschaeftsfuehrung: Wilhelm Grabow, Katsuyoshi Maeda<br>
_______________________________________________<br>
systemd-devel mailing list<br>
<a href="javascript:;" onclick="_e(event, 'cvml', 'systemd-devel@lists.freedesktop.org')">systemd-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/systemd-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/systemd-devel</a><br>
</blockquote></div>