Think about Loose Coupling | |
PerlMonks |
Re: How to kill perl?by monarch (Priest) |
on Nov 07, 2005 at 01:05 UTC ( [id://506203]=note: print w/replies, xml ) | Need Help?? |
Whilst it doesn't cause a core dump, another method for bailing out of perl quickly, is to use the POSIX module..
When perl dies it usually appears to spend lots of time closing file handles. For a forked server that has lots of sockets open this could take some time, so why not let the OS deal with the messy issues and use POSIX::_exit().
In Section
Meditations
|
|