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

If I kill, end the job = no problem. Problem occurs when script is working so I don't care about ctrl+c I don't want to have zombie every client connection: new client connection -> child -> do something -> end child process -> wait for another connection Last child is always a zombie.
5989 pts/5 S+ 0:00 \_ grep test.pl 5975 pts/4 S+ 0:00 \_ /usr/bin/perl ./test.pl 5987 pts/4 Z+ 0:00 \_ [test.pl] <defunct>
  • Comment on Re^2: Parallel::ForkManager leaves a zombie process from last child
  • Download Code