]] Ben Finney 

| Felipe Sateler <[EMAIL PROTECTED]> writes:
| 
| > I still don't understand why a SIGTERM is needed. If proper cleanup
| > is not needed, why not just SIGKILL and be done with it? Is there a
| > real reason?
| 
| My understanding only:
| 
| It is preferable for processes to clean up after themselves, which is
| the semantic of SIGTERM. Only those processes which were not able to
| do so in a timely manner will be abruptly killed with SIGKILL.

But if you have cleanups to do, you should have a proper stop script (or
you have a race condition). (If it's just about removing shared memory
segments and such, there's no need to clean up -- the system is about to
go away anyway.)

-- 
Tollef Fog Heen
UNIX is user friendly, it's just picky about who its friends are


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

Reply via email to