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 (Canon) on Feb 15, 2006 at 19:35 UTC
    but are you doing anything else inside the while loop or just calling the reaper?