Don't ask to ask, just ask | |
PerlMonks |
Re^2: Parallel::ForkManager using up Resources?by guice (Scribe) |
on Mar 29, 2005 at 16:52 UTC ( [id://443183]=note: print w/replies, xml ) | Need Help?? |
It's a max of 5 children at once. I tried to use a pool, but couldn't figure out a way to make sure none of the children used a wrong handle. Care to share how you got past this one? I tried an array with $cnt++ % 5, but no way to guarentee each child will finish in order. Each child starts off opening a connection and then calls a close method which closes the connection. All that works and in order. The code is very verbose and I see that part just fine.
-- philip
In Section
Seekers of Perl Wisdom
|
|