Quoting Chun Kit Edwin Lau <[EMAIL PROTECTED]>:
> Hi everyone,
> 
>       I am curious about how Linux does the shutdown.  The kernel send
> the TERM signal to all processes when the shutdown is initiated.  But
> does the kernel wait for the every process to finish before the kernel
> halt?  If not, will there be data lost then?
> 

It waits a period of time and then sends all processes a KILL signal.
If an app is hung in an inconsistent state or takes too long to
cleanup, yes it will lose data.  The alternative is a machine that
will not shutdown because one app is hung.

Jeffrey


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to