[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Fwd: Graphical Shutdown



On Mon, 2007-09-17 at 15:17 -0400, Bill Nottingham wrote:
> Richi Plana (myfedora richip dhs org) said: 
> > Are there use-cases where feedback on service shutdown would be desired?
> > It seems that if there were, a couple of lines of text would be
> > minimalist.
> > 
> > If sourcing shells and scripts has become a sticky point, then perhaps
> > that functionality should be included in init. Which sort of brings up
> > the topic of evaluating current init replacements (or, better yet, an
> > init, changerunlevel, shutdown system).
> 
> I'd need to benchmark some more, but I suspect the delay is because of
> a linear sequence of:
> 
> - kill -TERM $pid
> - wait to see if it's dead
> - kill -KILL $pid
> 
> for each service, as opposed to a global
> 
> - kill -TERM $everything
> - wait a second
> - kill -KILL $everything
> 
> Bill
> 

Baaah... Some services need -time- to shut down. (E.g. save data to the
disk)
Killing everything simultaneously may/will trigger an IO race; some
services just might not be able to save everything before they get
-KILL'ed.

- Gilboa



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]