http://qs1969.pair.com?node_id=443190


in reply to Re^2: Parallel::ForkManager using up Resources?
in thread Parallel::ForkManager eating up Resources?

Also -- I've added close and finish methods for each child process through ForkManager, too:
$pm->run_on_start(\&_child_start); $pm->run_on_finish(\&_child_finish); sub _child_start() { my ($pid, $ident) = @_; print "**** STARTED: child with PID $pid"; } sub _child_finish(){ my ($pid, $exit, $ident) = @_; print "**** FINISHED: child with PID $pid exit cide $exit"; }

-- philip
We put the 'K' in kwality!