Re: [libvirt] [PATCH v3 2/2] process: wait longer 5->30s on hard shutdown

2018-08-21 Thread Christian Ehrhardt
On Tue, Aug 21, 2018 at 1:16 PM Daniel P. Berrangé wrote: > On Tue, Aug 14, 2018 at 11:27:34AM +0200, Christian Ehrhardt wrote: > > In cases where virProcessKillPainfully already reailizes that > > SIGTERM wasn't enough we are partially on a bad path already. > > Maybe the system is overloaded

Re: [libvirt] [PATCH v3 2/2] process: wait longer 5->30s on hard shutdown

2018-08-21 Thread Daniel P . Berrangé
On Tue, Aug 14, 2018 at 11:27:34AM +0200, Christian Ehrhardt wrote: > In cases where virProcessKillPainfully already reailizes that > SIGTERM wasn't enough we are partially on a bad path already. > Maybe the system is overloaded or having serious trouble to free and > reap resources in time. > >

[libvirt] [PATCH v3 2/2] process: wait longer 5->30s on hard shutdown

2018-08-14 Thread Christian Ehrhardt
In cases where virProcessKillPainfully already reailizes that SIGTERM wasn't enough we are partially on a bad path already. Maybe the system is overloaded or having serious trouble to free and reap resources in time. In those case give the SIGKILL that was sent after 10 seconds some more time to