httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Samuel Vogel <samy-de...@gmx.de>
Subject Re: [users@httpd] Apache taking up all CPU Time
Date Sat, 25 Aug 2007 10:58:45 GMT
Actually there are more than 10 instances running.
This is just the way the prefork MPM works.

Does anybody else have suggestions?

Regards,
Samy

Cameron J. Young (Personal) schrieb:
> Hi there.  
> Not overly farmiliar with Apache on any platform, but would check Apache's
> logfiles for an indication perhaps.
> Any reason that there are three(3) instances of 'apache2' running ?
>
> Cheers,
> Cameron
>
> -----Original Message-----
> From: Samuel Vogel [mailto:samy-delux@gmx.de] 
> Sent: Saturday, 25 August 2007 20:35
> To: users@httpd.apache.org
> Subject: Re: [users@httpd] Apache taking up all CPU Time
>
> (P.S. Sorry, something went wrong with the formating of my last mail!)
>
> I'm running apache with about 4.000 vHosts on a DualCore 2,6 Opteron 
> with 4GB of memory. I'm wondering why Apache takes up all my CPU time:
>
> top - 12:30:56 up 3 days, 20:42,  1 user,  load average: 17.70, 18.06, 17.96
> Tasks: 322 total,  22 running, 298 sleeping,   0 stopped,   2 zombie
> Cpu(s): 98.2%us,  1.0%sy,  0.0%ni,  0.0%id,  0.0%wa,  0.0%hi,  0.8%si,
> 0.0%st
> Mem:   4155428k total,  3934212k used,   221216k free,    30188k buffers
> Swap:  2104496k total,    96916k used,  2007580k free,  2561980k cached
>
>    PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
> 11075 www-data  25   0 99.8m  64m 4176 R   78  1.6 513:21.42 apache2
> 10914 www-data  25   0   99m  65m 4768 R   53  1.6 515:46.01 apache2
> 11055 www-data  25   0 99.9m  65m 4480 R   47  1.6 508:05.30 apache2
>
>      
> How can I debug where the problem lies? I'd be very grateful for any help!
>
> I'm having apache reload it's config files every 15 minutes and the 
> config file is about 4MB in size!
>
> Regards,
> Samy
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>   

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message