Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Apache Memory usage

Discussion in 'EasyApache' started by teknowebworks, Jul 25, 2006.

  1. teknowebworks

    teknowebworks Active Member

    Joined:
    Mar 9, 2004
    Messages:
    30
    Likes Received:
    0
    Trophy Points:
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,460
    Likes Received:
    21
    Trophy Points:
    463
    Location:
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice