You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by sravine <sr...@sravine.com> on 2003/04/06 22:44:35 UTC

[users@httpd] Root httpd process taking up 99.9% of cpu

Hi all,

I recently put two new web servers online and am having a strange
problem. They 
are only receiving around 3 requests/second, and are only serving web
pages (no 
ftp, dns, mail etc on the servers), yet the load on the servers is
staying 
hovering around .6 or so. When the servers were first put online with
this same 
setup their load was 0. What I am seeing in 'top' is the following:

  PID USER     PRI  NI  SIZE  RSS SHARE STAT %CPU %MEM   TIME COMMAND
 1253 root      15   0  2228 2228  2004 S    99.9  0.1  27:58 httpd

(in this case httpd was last restarted around half an hour ago)

The root apache process (all page requests are served by 'nobody') is
sitting 
there taking up 99.9% of CPU and causing extra load on the server. I've
search 
google and this list and can't quite nail down what is happening.
Particularly, 
I'm trying to find out how I can figure out what apache is doing that is

causing it to sit there chewing up so much CPU. I have tried looking at
server-
status although the pid (1253 in this case) is not listed as it is not
one of 
the 'nobody' processes serving requests. 

I'm stumped as to what is going on but would like to get it back to
normal 
where the root apache process is not chewing cpu like. Three of four
other web 
servers that I have that are running a system with other services
installed do 
not have this problem. I'm not sure if it is some configuration issue
that may 
be a problem or what is going on.

Any help, suggestions or guidance would be appreciated.

Thanks,
Steve



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