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!

httpd processes, memory and high server load

Discussion in 'General Discussion' started by mehrdad abed, Jun 13, 2009.

  1. mehrdad abed

    mehrdad abed Well-Known Member

    Mar 18, 2006
    Likes Received:
    Trophy Points:

    I've average of 100-140 httpd connections at a time, my sever is dual-core 3000 with 2GB of ram, and there are about 250 accoutns on it,

    recently my server load gets too high significantly and I'm not sure if it's because of lack of Memory,

    command "ps aux|grep httpd" gives result of 130 processes averagely that each httpd process consumes 1.6% of memory, and it means 208% (130*1.6) of server memory is engaged by httpd processes to gather,

    does anybody could explain this matter ? is the server high load a result of memory lack ?

    #1 mehrdad abed, Jun 13, 2009
    Last edited: Jun 13, 2009
  2. Spiral

    Spiral BANNED

    Jun 24, 2005
    Likes Received:
    Trophy Points:
    It could just be a simple configuration issue leaving you unoptimized
    for the amount of traffic and accounts that you have on your server.

    Other than the above though ...

    At the levels you are talking about, I would consider going to 4GB to
    return back to physical memory from swap partition or possibly getting
    an additional server to split and lighten the traffic loads if you can't
    isolate the issue within the configuration.

    However, I also would want to know what is causing the traffic and
    would first take a close look at the site statistics and log files and
    find out if you have any particular account that is using up an
    excessive amount of simultaneous traffic as that is often a sign that
    someone is doing something they shouldn't be doing.

    Some areas of interest ...
    /var/log   (see 'messages' and 'secure' in particular)
    /usr/local/apache/domlogs   (Try an 'ls -lSr | tail -5')
    Should also check running processes closer ('ps -ef | less')
    If the above doesn't help you nail down the issue, I would be glad to take
    a look around if you want a better assessment as to what is actually
    going on with your server and it's traffic and could let you know if you
    have any potential security issues that should be addressed in the process.
    #2 Spiral, Jun 13, 2009
    Last edited: Jun 13, 2009

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