in reply to
One hand on the Throttle
Take a look at the following nodes:
Maximum # of concurrent runs
(lots of discussion)
how to limit child processes?
(links in discussion)
Many children, but never more than a fixed number at once.
(code snippet)
A framework for implementing child processes performing file updates, SQL queries, and the passing of results to the parent using Parallel::ForkManager
(code snippet)
Update:
Added 2 more links
Comment on
Re: One hand on the Throttle
In Section
Seekers of Perl Wisdom