I have a Dual Xeon server with 2 gigs of ram running Linux Red Hat 9
with Apache/1.3.33. I am the only one using the server and all of my
scripting is done with PHP 4.3. There is a 30 second time limit on all
There is an HTTPD process taking up huge amounts of RAM (usually about
1.6G) . It causes server load to increase greatly. I switched to a
Dual Xeon to handle the load, because it was crashing my P4 system
every day or two. Now the Dual Xeon can ride it out. The process
will usually come back to normal within about 5 hours.
During this period 1 of the processors in TOP is 100% occupied.
Although the there is nothing within the process list showing any
substantial usage. Even the httpd process consuming all of the memory
has a low processor usage. Maybe the processor is just busy swapping
memory or something?
I have combed through my error_log carefully and fixed every last
problem. I run "lsof -p PID" on the process and see a number of files
open, but none of them have anything in common with 1 particular
script. That makes sense since this httpd process may be serving
hundreds of different requests. I have also run "lsof -n -T -w -i
tcp:80" thinking maybe I could find an IP address associated with the
httpd process and correlate it to the access log. However the process
ID running out of control never has an IP address associated with it.
Does anyone have any recommendations how to troubleshoot this problem
further? I might need to wait a few days for the problem to come back