You are here: Re: Reducing load for LAMP app? « PHP Programming Language « IT news, forums, messages
Re: Reducing load for LAMP app?

Posted by faulkes on 01/07/08 00:04

On Jan 6, 5:43 pm, Gilles Ganault <nos...@nospam.com> wrote:
> On Sun, 06 Jan 2008 15:54:17 -0500, Jerry Stuckle
>
> ======
> load average: 61.88, 51.08, 74.30
> Tasks: 476 total, 7 running, 467 sleeping, 0 stopped, 2 zombie
> Cpu(s): 78.8% us, 18.7% sy, 0.0% ni, 0.7% id, 0.3% wa, 0.5% hi,
> 1.0% si

This looks like the hallmark of a virtual server, depending on what
the host is serving or doing though I would be concerned at the
number of processes.

>
> PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME COMMAND
> 10685 ze-card 19 19 984 736 724 R N 93.3 0.0 5671m webalizer

That would be your primary cpu hog at the current time and considering
the length of time it's been there, probably on a rampage.

>
> If I understood what I read on top and vmstat, this host has enough
> RAM, but the CPU is heavily used (load average much higher than 1),
> with lots of sleeping processes.

467 processes? I'd sure like to see what count is on those particular
processes (httpd, etc.. etc..)

> I have to find out if it's just PHP or MySQL, or even the network that
> is the bottleneck.

While it could be all three, I would say check out the processlist
first and that would likely be your first clue.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация