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.

Apache causes load to skyrocket multiple times per hour

Discussion in 'EasyApache' started by john318, May 25, 2004.

  1. john318

    john318 Registered

    Joined:
    May 25, 2004
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    On two of our servers (one more frequently then the other), the load very frequently jumps from 1-3 to 10+. Killing apache stops the load increase and the load starts to go down, and it stays down until it happens again. We have a program in place set up to kill apache the second the load reaches a certain amount. The problem doesn't tend to start happening until 10 or 11 AM (though sometimes it happens once or twice from 12 AM to 10 AM), and then it happens many times per hour until 10-11 PM. Late night/early morning, the load is very low (.2 or lower usually), which is what it should be.

    Does anyone have any ideas?
     
  2. john318

    john318 Registered

    Joined:
    May 25, 2004
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    We thought it might be that, but it goes from staying stable (1-2) for awhile to jumping in a matter of seconds (maybe a few minutes sometimes) endlessly to 20, 30, 40, etc. Then it stays stable until it happens again. It seems that something is triggering it.
     
  3. jsteel

    jsteel Well-Known Member

    Joined:
    Jul 4, 2002
    Messages:
    646
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Atlanta, GA
    Check 2 things:

    1) The cronjobs for your users, and
    2) When the issue is occuring, check the Apache Status page in WHM and look for common requests stuck in a 'W' state with a high 'SS' value. If you frequently see the same request in that state and it's a script of some kind (PHP, Perl, etc.), odds are good that script may be the culprit.
     
  4. rhodesy

    rhodesy Well-Known Member

    Joined:
    Dec 24, 2003
    Messages:
    305
    Likes Received:
    0
    Trophy Points:
    16
    I had the same problem I did what you said about the W and SS and found www.animehouse.uni.cc to be the culprit. But now, what. Obviously the best thing to do would be to get rid of the accoutn but as a web hosting company that is a bad thing to do.
     
Loading...

Share This Page