Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^4: Reaping Zombies

by dsb (Chaplain)
on Feb 15, 2006 at 19:33 UTC ( #530481=note: print w/ replies, xml ) Need Help??


in reply to Re^3: Reaping Zombies
in thread Reaping Zombies

Well I'm thinking it's the call to waitpid().

I've only just added the multi-threaded processing and the script was using a lot of CPU. With the reaper code, it running at 20-30% CPU usage...eesh


dsb
This @ISA my( $cool ) %SIG


Comment on Re^4: Reaping Zombies
Re^5: Reaping Zombies
by salva (Abbot) on Feb 15, 2006 at 19:35 UTC
    but are you doing anything else inside the while loop or just calling the reaper?

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (7)
As of 2015-07-05 05:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (60 votes), past polls