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

    Default httpd processes, memory and high server load

    Hi,

    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 ?

    Thanks,
    Last edited by mehrdad abed; 06-13-2009 at 05:57 AM.

  2. #2
    BANNED
    Join Date
    Jun 2005
    Location
    Wild Wild West
    Posts
    2,025

    Lightbulb

    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 ...
    Code:
    /var/log   (see 'messages' and 'secure' in particular)
    
    /usr/local/apache/logs 
    
    /usr/local/apache/domlogs   (Try an 'ls -lSr | tail -5')
    
    /usr/local/cpanel/logs
    
    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.
    Last edited by Spiral; 06-13-2009 at 10:09 AM.

Similar Threads & Tags
Similar threads

  1. httpd processes and server load
    By babakb in forum cPanel and WHM Discussions
    Replies: 9
    Last Post: 05-01-2007, 08:20 AM
  2. Limit httpd processes because of high load averages
    By patriothosting in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 04-07-2007, 08:55 PM
  3. httpd-nobody processes with high load
    By ramil in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 11-28-2006, 11:34 AM
  4. High server load and high memory use?
    By Squeeze a Snack in forum New User Questions
    Replies: 1
    Last Post: 05-23-2005, 03:49 AM
  5. Urgent: Server Load High, No Processes
    By YukFoo in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 11-30-2002, 11:25 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube