in reply to Re: Child not Consistantly Terminating
in thread Child not Consistantly Terminating

Hmmm, If I understand what your saying then the child should exit after some amount of time.? By observing the "ping timeout" debug message I can see that the child is still running after the TERM is sent. I waited about 5 minutes and it never died. I decided to hammer the child with TERM's just to see what would happen. I drove the CPU to 0% idle with:
do { $check_kill = kill ("TERM",$child_pid_to_kill); } until $check_kill > 0;
and it never died.

Replies are listed 'Best First'.
Re: Child not Consistantly Terminating
by Abigail-II (Bishop) on Feb 19, 2004 at 15:03 UTC
    Hmmm, If I understand what your saying then the child should exit after some amount of time?
    It depends. If Perl returns from the op it's executing, it should. If it's stuck in some system call, it might not.

    Abigail