teknowebworks

Active Member
Mar 9, 2004
30
0
156
I'm running CentOS 4.2 with the stock kernel, and ever since the last PHP upgrade, i'm having this strange issue where i see HTTPD process all the sudden start going from 10m - 12m to 120m and than gettting killed. I tryed suphpexec, to seperate php from apache, but apache is still doing it, php seems fine. Anyone else have problems like this?

The main thing is that it's killing my servers, basically eats up all my ram, starts swapping, IO wait goes crazy and which stalls everything and basically renders the server unusable until PRM kills everything.
 

chirpy

Well-Known Member
Verifed Vendor
Jun 15, 2002
13,437
34
473
Go on, have a guess
Sounds like a memory leak. Try changing the following option in httpd.conf to:

MaxRequestsPerChild 50

Then restart httpd. That's quite a low figure, but probably the best for an overloaded server.