|
|
| Perl Monk, Perl Meditation | |
| PerlMonks |
Re: Help with multiple forksby Eliya (Priest) |
| on May 30, 2012 at 16:37 UTC ( #973336=note: print w/ replies, xml ) | Need Help?? |
|
Getting back to Parallel::ForkManager, which you attempted to use in your first post, you might want to try
This would run max 5 processes at the outer level, plus max 2*5 at the inner level, i.e. max 15 processes total (10 inner from the last round + 5 outer for the next round). I'm not entirely sure that's what you want, but it's at least something to play with... P.S. If you uncomment the $0 = ... lines, you can grep for "processing" in the ps output to observe what's going on.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||