Web Hosting Talk







View Full Version : httpd using 99.4% CPU load, and it's been running 2241 minutes.


mhsi010
01-28-2004, 05:57 AM
PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME CPU COMMAND
23973 root 15 0 3616 2888 84 R 99.4 0.3 2241m 0 httpd


httpd using 99.4% CPU load, and it's been running 2241 minutes.

How do I check who is running the scripts?

rghf
01-28-2004, 06:11 AM
Have you got mod_status installed?

Rus

mhsi010
01-28-2004, 06:17 AM
How do I install mod_status?

sprintserve
01-28-2004, 08:17 AM
Are you running a control panel such as Cpanel ? If yes, login to WHM. Cpanel implemented a version of Mod_status and you can check.

A long running time is fine. However, to quickly resolve the issue, you can just restart httpd

/etc/init.d/httpd restart

sprintserve
01-28-2004, 08:18 AM
To enable mod_status, try checking your httpd.conf. The relevant section may just be commented out. In any case, info here: http://httpd.apache.org/docs/mod/mod_status.html