Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    Member twhiting9275's Avatar
    Join Date
    Sep 2002
    Posts
    359

    Default Modifying apache memory usage

    Here's one for you
    I'm looking for a way to modify apache/http memory usage so that it DOESN'T allow so much to be used up.
    I'm not sure why, but the server I'm running is constantly (constantly) needing rebooting because of this and that problem, more often than not, load is entirely too high on the server (on this server, nobody can login at all, except for root and myself, so there's no excuse for the load to be at 20+).
    Going in and clicking on modify Apache memory usage sets apache memory to 194m which is entirely unacceptable. There's no reason Apache (or anything for that matter) should take up 194m for any reason.
    Is there a way to set the apache memory limit to an acceptable amount, say 100m or even 50? Perhaps this should be something that should be changed, so that the memory usage CAN be modified easily?
    I'm not complaining, just looking for an alternative here. Need to be able to control Apache memory better than having the system doing it for me in this case.
    Linux Tech Networks: Reliable Server Administration and Monitoring since 2002

  2. #2
    Member
    Join Date
    Dec 2001
    Posts
    1,558

    Default

    You should be able to modify the limit yourself by editing the figure in your httpd.conf file.
    Beau Henderson

  3. #3
    Member
    Join Date
    Mar 2002
    Posts
    55

    Default

    I have RlimitMEM and RLimitCPU in my httpd.conf and Apache seems to ignore it. I have mod_perl running (required) and my httpd processes have been known to increase to 500M+ (natually, this causes my server to run out of RAM and Swap and then die a horrible death, resurrection only possible through hard rebooting).

    I'd love any assistance in preventing Apache from overrunning the server and keeping mod_perl alive. BTW, mod_perl is running as a DSO, not statically linked.

  4. #4
    Member
    Join Date
    Jun 2002
    Posts
    13

    Default

    Have you any luck with this issue?
    Two of my servers have apache that is constantly growing.
    The thing is in the mod_perl module as I know. Recompiling this module as static would help (probably).

    But I don't want to risk
    Did anybody this?

  5. #5
    Member
    Join Date
    Sep 2002
    Posts
    108

    Default

    same problem here

    Please Nick check this problem

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. Modify Apache Memory Usage
    By zekmaster in forum New User Questions
    Replies: 0
    Last Post: 11-08-2006, 04:59 PM
  3. Apache Memory usage
    By teknowebworks in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 07-25-2006, 04:49 PM
  4. Modifying apache resources usage
    By gflamerich in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 06-08-2004, 06:15 PM
  5. excessive apache memory usage??
    By ameen in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 03-26-2003, 02:31 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube