[Marketing] Fwd: Re: [Systems] Apache is hogging the CPU on solarsail

Marten Vijn info at martenvijn.nl
Thu Jun 25 06:41:22 EDT 2009


On Thu, 2009-06-25 at 12:09 +0200, Bernie Innocenti wrote:
> Our campaign worked beyond expectations :-)
> 
> -------- Original Message --------
> Subject: Re: [Systems] Apache is hogging the CPU on solarsail
> Date: Thu, 25 Jun 2009 11:59:40 +0200
> From: Bernie Innocenti <bernie at codewiz.org>
> Organization: Sugar Labs Foundation - http://sugarlabs.org/
> To: Ivan Krstić <krstic at solarsail.hcs.harvard.edu>
> CC: Sugar Labs Systems <systems at lists.sugarlabs.org>
> 
> On 06/25/09 11:53, Bernie Innocenti wrote:
> > On 06/25/09 11:44, Bernie Innocenti wrote:
> >>  5686 www-data  20   0  313m  50m  22m R  103  0.2   0:56.39 apache2
> >>  9877 www-data  20   0  313m  49m  21m R  103  0.2   0:15.48 apache2
> >>  2009 www-data  20   0  313m  53m  25m R  100  0.2   1:22.23 apache2
> >>  2442 www-data  20   0  314m  72m  43m R   96  0.2   1:28.54 apache2
> >>  5472 www-data  20   0  314m  53m  23m R   96  0.2   0:31.36 apache2
> >>  5675 www-data  20   0  313m  58m  30m R   96  0.2   0:49.86 apache2
> >>  5681 www-data  20   0  308m  44m  22m R   96  0.1   0:01.06 apache2
> >>  9845 www-data  20   0  314m  50m  21m R   96  0.2   0:23.26 apache2
> >>  9876 www-data  20   0  312m  49m  21m R   96  0.2   0:15.46 apache2
> >> 10271 www-data  20   0  308m  45m  21m R   96  0.1   0:01.10 apache2
> >>
> >> I'm investigating
> > 
> > This is no bug: we're really being hit by several connections per
> > second.  The load comes from the wiki.
> > 
> > One of the main referrers is:
> >   http://news.bbc.co.uk/2/hi/technology/8117064.stm
> 
> What could we do to speed up the wiki a bit more?  mod_cache?
> memcached?  We're already using APC, right?

It's not slow yet :)

maybe:

if disk io is limiting:
- logging of apache / sql to other disk/decreased/dev_null?
- is machine swapping? maybe try MaxClients 10 in httpd.conf  


What is top/vmstat/iostat saying?


cheers
Marten



> 
-- 
http://martenvijn.nl                 Marten Vijn 
http://martenvijn.nl/trac/wiki/soas  Sugar on a Stick
http://bsd.wifisoft.org/nek/         The Network Event Kit
http://har2009.org                   13th-16th August 
http://opencommunitycamp.org         26th Jul - 2nd August



More information about the Marketing mailing list