in reply to How to kill perl?
use POSIX qw(_exit); POSIX::_exit( 0 ); # abort ungracefully (and quickly!)
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().
|
|---|