more useful options | |
PerlMonks |
Re: fork() and defunct childrenby shmem (Chancellor) |
on Feb 11, 2008 at 20:45 UTC ( [id://667445]=note: print w/replies, xml ) | Need Help?? |
First of all,
I'd print some debug messages before the sleep() call. If they don't show up, it means the ping never returns. In that case I'd set up a local $SIG{ALRM} = \&report_fail and drag the flow out of the $dbh->ping, printing as much informative message I can get from the current scope, DBI or the system all that runs on. If that fails to give me a clue, I'd go on with wiretapping (e.g. wireshark), then tracing/trussing the involved processes. --shmem
In Section
Seekers of Perl Wisdom
|
|