Server Load

Discussion in 'Site & Server Administration' started by cb711, Nov 6, 2007.

  1. #1
    I just purchased a couple of sites which I put on my server and now my server load in very high. Sometimes around 25 and it is slowing down everything. I only have 5 sites using bandwidth, so how is these 3 sites killing my server? How do I check which site is using it all?
     
    cb711, Nov 6, 2007 IP
  2. The General

    The General Peon

    Messages:
    330
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    0
    #2
    How to check which sites are using all the bandwidth varies with which hosting control panel are you using. What type of sites are these and how active are they?
     
    The General, Nov 6, 2007 IP
  3. plumsauce

    plumsauce Peon

    Messages:
    310
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Turn all three off. Or put a parking page up.

    Turn one back on at a time while you are watching the stats.
     
    plumsauce, Nov 6, 2007 IP
  4. inworx

    inworx Peon

    Messages:
    4,860
    Likes Received:
    201
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Can you post the result of

    top

    and

    top -c


    Perform this step when all your websites are running i.e. you haven't pulled anyone down. It could be better if these are provided at the times when the load is at peak.
     
    inworx, Nov 7, 2007 IP
  5. cb711

    cb711 Well-Known Member

    Messages:
    1,739
    Likes Received:
    34
    Best Answers:
    0
    Trophy Points:
    115
    #5
    this is the problem i am having

    [​IMG]

    I think I am going to have to move a site or two
     
    cb711, Nov 7, 2007 IP
  6. rm5b

    rm5b Member

    Messages:
    79
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    45
    #6
    Make sure Apache and Mysql are both optimized.
    If you want to lower the resource usage, I'd suggest changing control panels.
     
    rm5b, Nov 8, 2007 IP
  7. InFloW

    InFloW Peon

    Messages:
    1,488
    Likes Received:
    39
    Best Answers:
    0
    Trophy Points:
    0
    #7

    I don't think the footprint of cPanel is going to cause the guy to be using 40% swap.

    Sounds like the server has a lot of requests and apache is using all the ram as a result it starts using the swap heavily along with the ram. Thus you get huge amounts of i/o strain on the box.

    But more information would be needed like a top output and things of that nature.
     
    InFloW, Nov 8, 2007 IP
  8. rm5b

    rm5b Member

    Messages:
    79
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    45
    #8
    Not too good at diagnosing server problems myself, just giving small tips that may help.;)
     
    rm5b, Nov 8, 2007 IP
  9. cb711

    cb711 Well-Known Member

    Messages:
    1,739
    Likes Received:
    34
    Best Answers:
    0
    Trophy Points:
    115
    #9
    I have 2GB of ram now. Should I add another 1GB of ram or setup one of the main sites on another hosting plan?
     
    cb711, Nov 8, 2007 IP
  10. rm5b

    rm5b Member

    Messages:
    79
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    45
    #10
    More ram, the better.
    But if you don't find the true cause of the problem, you'll be wasting your money and time..

    Try top -c and show us your apache and mysql config files.
     
    rm5b, Nov 8, 2007 IP
  11. ndreamer

    ndreamer Guest

    Messages:
    339
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    0
    #11
    can you post the top like inworx said, try lowering some values like time outs & execution limits then restart apache.
     
    ndreamer, Nov 8, 2007 IP
  12. dragonflies

    dragonflies Guest

    Messages:
    435
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #12
    Check to make sure your server is having a kernnel panic attack.
     
    dragonflies, Nov 8, 2007 IP
  13. inworx

    inworx Peon

    Messages:
    4,860
    Likes Received:
    201
    Best Answers:
    0
    Trophy Points:
    0
    #13
    Seems you aren't familiar with SSH....
    This is clearly shown your swap is being utilized. It isn't a good idea to use SWAP instead of RAM. You RAM isn't enough.

    Change Control Panels if possible, cpanel itself uses much part of your free memory.

    Last, show us your top stats :)
     
    inworx, Nov 11, 2007 IP