Andre_br has asked for the wisdom of the Perl Monks concerning the following question:
Iīm in need of solving a CPU-hungry script problem. This script eats 99% CPU during a whole minute, so all the website gets toooo slow when itīs being executed.
Someone here at the chatbox gave me this tip for BSD::Resource , but the documentation isnīt clear at all, and I couldnīt find any tutorial over the net. Has any of you dealed with it successfully?
Iīd like to limit the CPU usage to 50% maximum. Is it possible? By the way, my host's OS is Debian Sarge.
Thanks a lot
Andre
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Setting CPU usage limit with BSD::Resource
by tirwhan (Abbot) on Feb 05, 2006 at 22:33 UTC | |
|
Re: Setting CPU usage limit with BSD::Resource
by zentara (Cardinal) on Feb 06, 2006 at 13:14 UTC |