httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Covener <cove...@gmail.com>
Subject Re: [users@httpd] high cpu process
Date Mon, 24 Jan 2011 13:20:04 GMT
On Mon, Jan 24, 2011 at 7:04 AM, Marco Aimar <marco.aimar@foreach.it> wrote:
> Hy,
> I'm use apache 2.2.2.
> Casually I find which some process use very high cpu.
> This is a "top"
>> 21213 wwwrun    20   0  297m  18m 4660 R   98  0.5 100:05.76 httpd2-prefork
>> 21149 wwwrun    20   0  297m  19m 5180 R   96  0.5  97:15.34 httpd2-prefork
>> 20882 wwwrun    20   0  298m  19m 5464 R   95  0.5  96:38.06 httpd2-prefork
>> 20700 wwwrun    20   0  297m  20m 5880 R   94  0.5 101:04.42 httpd2-prefork
>
> Cpu used for first reported process it's 98%.
> There is a one way for know why this appear?

http://httpd.apache.org/dev/debugging.html#backtrace

You can also see what files it has opens with e.g. lsof, though I'm
not sure if that helps with php.

-- 
Eric Covener
covener@gmail.com

---------------------------------------------------------------------
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