in reply to Re^4: Parallel ForkManager problem: parent dies early before all the child finishes
in thread Parallel ForkManager problem: parent dies early before all the child finishes
I'm just guessing here, but read O'Reilly forking child processes in cgi
It may be that you are not handling the SIG{'CHILD'} for the parallel processes correctly. It recommends
$SIG{'CHLD'} = "wait_for_child_to_die"; sub wait_for_child_to_die{ wait; }
|
|---|