Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Parallel::ForkManager leaves a zombie process from last child

by vsespb (Hermit)
on May 30, 2013 at 20:15 UTC ( #1036129=note: print w/ replies, xml ) Need Help??


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

I have not ever used this module. But I don't see signal handlers in its code. Probably you should handle SIGINT (Ctrl-C) by yourself. Also, related ticket https://rt.cpan.org/Public/Bug/Display.html?id=35659


Comment on Re: Parallel::ForkManager leaves a zombie process from last child
Re^2: Parallel::ForkManager leaves a zombie process from last child
by makow2 (Initiate) on May 30, 2013 at 20:23 UTC
    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>

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1036129]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (5)
As of 2014-09-23 04:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (210 votes), past polls