in reply to Parallel::ForkManager leaves a zombie process from last child

Have you called  $pm->wait_all_children;?

It will tidy up the zombies.

UPDATE: ignore this -- your code never ends so there's nowhere to call wait_all_children from, I guess your problem must be something else.

Replies are listed 'Best First'.
Re^2: Parallel::ForkManager leaves a zombie process from last child
by makow2 (Initiate) on May 30, 2013 at 18:21 UTC
    I can add it after 'while' but, hard to call this when script exits 'while' loop only when I kill it, Whole job is in 'while' loop.