The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Normal # of Processes?

Discussion in 'General Discussion' started by xxkylexx, Aug 15, 2006.

  1. xxkylexx

    xxkylexx Well-Known Member

    Joined:
    Apr 29, 2006
    Messages:
    57
    Likes Received:
    0
    Trophy Points:
    6
    Hi there,
    Hope this isn't a dumb question, but on average, what's the normal amount of processes you should see on a cPanel box (CentOS 3.x)?

    Thanks,
    Kyle
     
  2. elliotcooper

    elliotcooper Well-Known Member
    PartnerNOC

    Joined:
    May 18, 2005
    Messages:
    56
    Likes Received:
    0
    Trophy Points:
    6
    I just took a look on one of (fairly) new install of cpanel and there were 54 processes running. However, the number of processes will depend on how the server is confiogured/what is installed and how busy it is.
     
  3. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    It does depend on how heavily the server is used, and the resources available to process its needs. I'd generally say that less than 150 is normal. More that 200 might be of concern.
     
  4. chilihost

    chilihost Well-Known Member

    Joined:
    Mar 1, 2005
    Messages:
    72
    Likes Received:
    0
    Trophy Points:
    6
    it also depends on how you setup your server config file (httpd.conf)
     
  5. xxkylexx

    xxkylexx Well-Known Member

    Joined:
    Apr 29, 2006
    Messages:
    57
    Likes Received:
    0
    Trophy Points:
    6
    Thanks guys.

    Latly, I have been having some issues with load spikes and have noticed that proccesses are exceeding 200 during this time. The average I have when running smoothly is around 170-180.

    Kyle
     
  6. xxkylexx

    xxkylexx Well-Known Member

    Joined:
    Apr 29, 2006
    Messages:
    57
    Likes Received:
    0
    Trophy Points:
    6
    Having processes back up to around 260+ right now. Here is a list:

    Taken at around 280:

    Anything look abnormal?


    Thanks,
    Kyle
     
    #6 xxkylexx, Aug 15, 2006
    Last edited: Aug 15, 2006
  7. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Yes, you've probably got something looping in apache, depending on the number of sites/hits. I'd suggest editing httpd.conf and setting:

    KeepAliveTimeout 3
    MaxRequestsPerChild 50


    Then restart httpd. Carefully watch your load afterwards.
     
  8. xxkylexx

    xxkylexx Well-Known Member

    Joined:
    Apr 29, 2006
    Messages:
    57
    Likes Received:
    0
    Trophy Points:
    6
    I've knocked down KeepAlive to "KeepAliveTimeout 3" from 15, MaxRequestsPerChild was already at 50. The processes seem to have dropped down a bit, but that may have been from me restarting httpd?

    Is keeping KeepAliveTimeout to 3 something I need to leave permenatly?


    Thanks,
    Kyle
     
  9. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Unless you notice any problems, I'd leave the settings like that.
     
  10. xxkylexx

    xxkylexx Well-Known Member

    Joined:
    Apr 29, 2006
    Messages:
    57
    Likes Received:
    0
    Trophy Points:
    6
    Thanks Chirpy!
     
  11. chilihost

    chilihost Well-Known Member

    Joined:
    Mar 1, 2005
    Messages:
    72
    Likes Received:
    0
    Trophy Points:
    6
    I have servers that normally push about 450-550 processes, they are just busy servers with loads of visitors. Your numbers look like an average server to me, nothing to worry about unless the load averages start skyrocketing.
     
Loading...

Share This Page