Fwd: Graphical Shutdown
Gilboa Davara
gilboad at gmail.com
Tue Sep 18 18:01:36 UTC 2007
On Mon, 2007-09-17 at 15:17 -0400, Bill Nottingham wrote:
> Richi Plana (myfedora at 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
More information about the devel
mailing list