guice has asked for the wisdom of the Perl Monks concerning the following question:
Anybody have any problems with Parallel::ForkManager or maybe even DBI eating up resources?
I currently run a script that forks upto 5 children using ForkManager with upto a total 140 children by the time it's done.
When I run a big load (133), my CPU load slowly climbs from 5 to over 20 by the time it finishes. Once the whole script is done, it drops back down to ~5-7ish (not immediately, but 2x the speed it climbed).
Any thoughts?
I do everything by the book; Opening a DBI process per child, closing and unsetting the veriable for each close.
-- philip
We put the 'K' in kwality!
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Parallel::ForkManager using up Resources?
by cazz (Pilgrim) on Mar 29, 2005 at 16:49 UTC | |
by guice (Scribe) on Mar 29, 2005 at 16:52 UTC | |
by guice (Scribe) on Mar 29, 2005 at 20:52 UTC | |
Re: Parallel::ForkManager using up Resources?
by kvale (Monsignor) on Mar 29, 2005 at 16:49 UTC | |
by guice (Scribe) on Mar 29, 2005 at 17:01 UTC | |
by guice (Scribe) on Mar 29, 2005 at 17:09 UTC | |
Re: Parallel::ForkManager eating up Resources?
by cazz (Pilgrim) on Mar 29, 2005 at 22:29 UTC | |
by guice (Scribe) on Mar 30, 2005 at 14:22 UTC |
Back to
Seekers of Perl Wisdom