On 2/16/2013 05:26, Sven Barth wrote:
The reason for this "first TERM then KILL" approach is that an application could
either hang (and thus not respond correctly to TERM if it has hooked it) or it
could just ignore the TERM. So on shutdown the init system normally sends a TERM
to all processes first and gives them a chance to cleanup any data they might
want to save and then those applications that are left are killed.

what can be done if it takes more than 5 seconds to perform the cleanup and closeout process when sigterm is received??

--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to