On Saturday 18 August 2001 02:36 pm, Philip Mak wrote:
> I have a RaQ4i server (450MHz AMD K-6 processor). If I have 20 mod_perl
> httpd processes running concurrently, then the system's load average goes
> up over 10.0 and CPU usage is 100%. The machine has RAM to spare, so
> swapping is not the problem.
>
> Is that the norm for a 450MHz server, or is there something I can do to
> make it work better?

That's not normal; something is wrong.  Most mod_perl machines tend to have 
low load (>1) because they aren't doing anything CPU intensive.  High loads 
like yours are generally associated with swapping.  If you're sure there's no 
memory problem, then you should try to figure out where all that work is 
going.  Maybe your app thrashes the disk and you need a faster one.  Maybe 
you have runaway processes.  Or maybe you just have that very rare thing: a 
CPU-intensive web app.

Doing some research with Devel::DProf and Time::HiRes is probably your next 
step.  You need to find out where all that work is going.

- Perrin

Reply via email to