Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

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

This @ISA my( $cool ) %SIG

Replies are listed 'Best First'.
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?

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (4)
As of 2016-10-24 04:44 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (302 votes). Check out past polls.