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

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!

 

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

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