Why do I have to kill?

Chris Jack chris_jack at msn.com
Tue Nov 20 15:12:57 GMT 2007

On Mon, 15 Oct 2007 15:54:29 +0100, Chris Jack wrote:> I have a perl program running on Unix that does a fork, runs a process in the child,
> and exits. If I just let it exit(0) - then the Unix process doesn't die. If I do a kill 15,
> the child process does go away.Just a follow up on this, the reason turned out to be some sort of esoteric bug in the DBI library - I lose track of how many days I wasted to find that out. The solution was to use POSIX::_exit(0). kill 15, $$ caused a race condition in certain circumstances.
Celeb spotting – Play CelebMashup and win cool prizes

More information about the london.pm mailing list