http://www.perlmonks.org?node_id=77146


in reply to how to limit child processes?

waitpid IS the way to go but perhaps the code from Parallel::ForkManager or Fork::Queue can give you a good start.
AgentM Systems nor Nasca Enterprises nor Bone::Easy nor Macperl is responsible for the comments made by AgentM. Remember, you can build any logical system with NOR.