Have you had a look at Parallel::ForkManager? It can be easily used to move from unbounded fork() to running with a limited number of children.
In reply to Re^5: How can I limit the number of Cores in multi-process programming
by Corion
in thread How can I limit the number of Cores in multi-process programming
by milesjin
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |