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.

many httpd "nobody" many mysqld

Discussion in 'General Discussion' started by s_2_s, Nov 30, 2004.

  1. s_2_s

    s_2_s Well-Known Member

    Joined:
    Aug 9, 2004
    Messages:
    215
    Likes Received:
    0
    Trophy Points:
    16
    hello
    my load on my n ew server with cpanel is getting very high cpu [ sometimes 70 sometimes 50 somtimes less or more ]

    and when i type
    ps -aux i get


    sometimes httpd processes are exceeding 50 - 70
    also there are many mysqld
    i have updated apache using easypache many times and no help
    also i modified httpd.conf and .my.cnf with other poeple recommendations on this forum and still no hope


    i'm running
    with cpanel
    please help
     
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    Could be for a variety of reasons:

    1. Your server is overloaded

    2. You're suffering a DOS attack

    3. You have an exceptionally busy account (see 1.)

    If it's 1. or 3. you need a bigger server or to move some accounts off, or to look at tuning your server (or hiring someone to do that if you don't know how).

    If it's 2. Then you can check if it's all coming from one IP address with:

    netstat | grep :80

    If they're mostly the same IP address, stick it in your firewall.
     
  3. s_2_s

    s_2_s Well-Known Member

    Joined:
    Aug 9, 2004
    Messages:
    215
    Likes Received:
    0
    Trophy Points:
    16
    hello
    thanks very much
    you are so kind and you help anybody that needs help
    God bless you

    the load was ok on the old server and since the new server is same spec. then point 1 is not true

    now what about 2 and 3

    for number 2 i need to run netstat | grep :80 but it just retun nothing
    and about number 3 how can i know which site ?
     
  4. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    My mistake, try:

    netstat -n | grep :80

    You might be able to find out which site by looking in WHM > Server Status > Apache Status. Scroll to the bottom to see the current requests.
     
Loading...

Share This Page