Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

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

by vsespb (Chaplain)
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

Replies are listed 'Best First'.
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?
[ambrus]: 1nickt: the tea didn't have sugar or honey or lemon or milk. or even caffeine in a significant quantity. it's really "colored water", warm water with some fruit smell to make it more pleasant than ordinary warm water.
[ambrus]: 1nickt: in theory, it shouldn't hurt the electronics, but also could temporarily cause problems until it dries, and the inside of the keyboard doesn't dry quickly, because it's closed.
[ambrus]: 1nickt: that's the theory. the theory is also that it should have dried by Sunday morning, but it didn't. so I dunno.
[ambrus]: I'll try today evening if it works now.

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (11)
As of 2017-11-21 14:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (302 votes). Check out past polls.

    Notices?