|
Posted by Gilles Ganault on 01/07/08 11:11
On Mon, 7 Jan 2008 00:55:35 -0800 (PST), "_q_u_a_m_i_s's"
<quamis@gmail.com> wrote:
>You do not have enough free RAM.
>- your load avg is 61 ??? this is waaay over.
>- 78%$ of the cpu time is spent in user mode (apache & webalizer in
>your case). Try to look for more apache ways to optimize this.
>webalizer should not be in this list, it should start/stop quickly.
>Are your scripts memory intensive? i do not know how much an usual php
>process takes, but 14Mb its a lot of data for one page-request.
I don't know, but we'll look at how to tweak Apache.
>Try to use xdebug & cachegrind to see what is wrong with your scripts,
>and determine some points where to create some "caching points" so
>that redundant data is not re-calculated over and over and over
>and......
I'll tell him to add RAM, but I also asked him to install the sysstat
package so he can run sar + mpstat + iostat and get some data about
I/O to see if the hard-disk isn't to blame.
Thanks a bunch!
[Back to original message]
|