Re: [Watchdog-devel] sigterm-delay is always waiting
Brought to you by:
meskes,
paulcrawford
|
From: <goo...@is...> - 2020-01-17 17:27:20
|
Dear Paul Sorry for the misunderstanding, my bad english dosent help. I try it again. I try to explain it like i understand it thanks to your help. With sigterm_delay set to 500, my Watchdog gets triggered and tries to reboot the System so it send's SIGTERMs to all processes. Lets assume they all have done a clean shutdown after 120s expcept for systemd because its in a cgroup, so in my understanding it should not be needed to wait the rest of the sigterm_delay. And as far as i understood you it should then try to set the reset time as short as possible. I hope i got it clearer, thanks for your patience! Best regards Marco > Gesendet: Freitag, 17. Januar 2020 um 13:36 Uhr > Von: "Paul Crawford" <ps...@sa...> > An: wat...@li... > Betreff: Re: [Watchdog-devel] sigterm-delay is always waiting > > Dear Marco, > > > I am sorry for my HTML respone, first time i use a mailinglist and my web client got me, shame on me. > > > > But back to the topic. > > > > I see your Points about systemd and cgroups, this make sense, thanks for clarification. > > To sum it up, watchdog SIGTERM/SIGKILL all process he can and then try to set the reset timer as short as possible. > > If it should be that way, how does he determine when to do this and how can i debug why my watchdog is waiting the whole sigterm_delay? Or what i am missing? > > The sigterm delay is a timber between sending out SIGTERM to "politely" > ask process to stop and then the sending out of SIGKILL just before the > hardware timer is used to trigger a reboot. So what you configure for > this will normally be used (except for occasions when the watchdog tries > a hard reset or has locked up and the hardware times-out to the same > effect). > > My apologies if I do not understand your problem correctly, but if you > have a delay configured, for example, 5 seconds, why do expect it to do > something before this time id over? > > Regards, > Paul > > > Thanks for your patience > > > > Best regards > > Marco > > -- > Dr. Paul S. Crawford > c/o Satellite Station > University of Dundee > Small's Wynd, Dundee, DD1 4HN > Email: ps...@sa... > Tel: +44 (0)1382 38 4687 > The University of Dundee is a Scottish Registered Charity, No. SC015096 > > > _______________________________________________ > Watchdog-devel mailing list > Wat...@li... > https://lists.sourceforge.net/lists/listinfo/watchdog-devel > |