Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Member
    Join Date
    Mar 2004
    Posts
    30

    Default Apache Memory usage

    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.
    www.teknowebworks.com
    webhosting with media in mind, start at $5/mo

  2. #2
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    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.
    Jonathan Michaelson

    Need your cPanel servers secured and tuned?
    cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
    Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
    http://www.configserver.com

Similar Threads & Tags
Similar threads

  1. Very high memory usage from Apache
    By Sannin in forum Optimization
    Replies: 7
    Last Post: 05-26-2011, 03:25 PM
  2. Hard limits on Apache memory usage
    By djbob2 in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 07-08-2009, 04:11 PM
  3. Modify Apache Memory Usage
    By zekmaster in forum New User Questions
    Replies: 0
    Last Post: 11-08-2006, 04:59 PM
  4. excessive apache memory usage??
    By ameen in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 03-26-2003, 02:31 PM
  5. Modifying apache memory usage
    By twhiting9275 in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 01-23-2003, 11:12 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube