whats a high server load?

Discussion in 'Site & Server Administration' started by zodiac, Nov 3, 2007.

  1. #1
    2 x pee4 2.8ghz
     
    zodiac, Nov 3, 2007 IP
  2. InFloW

    InFloW Peon

    Messages:
    1,488
    Likes Received:
    39
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Assuming this is a dual CPU machine I'd say a high load average is probably in the range of 4 or higher so 2* the number of cpu's.

    But really load average just tells you how many processes are waiting in line for CPU time. You can create high load averages without a heavily loaded machine if you want to.

    I'd be more concerned about server load when things start to get slow. At that point you'd be looking at is it my CPU that's all being used? Maybe it's the fact there is no ram left as a result the CPU is offloading RAM onto the drives which is very very slow. Or the worst of them all the hard drives are the bottleneck causing the cpu to wait for them before it can process things.
     
    InFloW, Nov 3, 2007 IP
  3. zodiac

    zodiac Peon

    Messages:
    2,661
    Likes Received:
    82
    Best Answers:
    0
    Trophy Points:
    0
    #3
    thanks.
    i don't have a problem,just wondering what the number is.
     
    zodiac, Nov 3, 2007 IP
  4. johnwoof

    johnwoof Peon

    Messages:
    911
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #4
    hi

    Cant understand question please give full info

    Thanks
     
    johnwoof, Nov 3, 2007 IP
  5. agnivo007

    agnivo007 Peon

    Messages:
    4,290
    Likes Received:
    289
    Best Answers:
    0
    Trophy Points:
    0
    #5
    pee4 = pee for (what?) Server peeing for high loads :p LOL
     
    agnivo007, Nov 3, 2007 IP
  6. Sebastian Rametta

    Sebastian Rametta Peon

    Messages:
    13
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #6
    It depends on what you are doing, on loaded hosting boxes I generally allow the boxes to spike to 15 for a a short while before taking action. Try checking vmstat (type: vmstat 1) and see where your cpu is going if it is high. Like the first reply said, you could have a high load but still be processing the current tasks fine because the load could go higher as other processes wait for resources from disk and such.

    - Sebsastian Rametta
     
    Sebastian Rametta, Nov 4, 2007 IP
  7. ghm

    ghm Peon

    Messages:
    27
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #7
    2x p4 2.8ghz with 2GB ram can be a good server if you are not hosting any very large DB driven sites, for static sites you would not see it going RED normally.

    you can check your load averages and then ask whether its normal or not.
     
    ghm, Nov 4, 2007 IP
  8. inworx

    inworx Peon

    Messages:
    4,860
    Likes Received:
    201
    Best Answers:
    0
    Trophy Points:
    0
    #8
    Loads are normal when they are less than the number of cpus.

    ex. 0.50 for 1 cpu(single core single proc.)
    You should check whats causing high load if its more than 1. Or you may upgrade to a better processor as well.
     
    inworx, Nov 6, 2007 IP
  9. agnivo007

    agnivo007 Peon

    Messages:
    4,290
    Likes Received:
    289
    Best Answers:
    0
    Trophy Points:
    0
    #9
    And yes, the culprit might not be only the CPU...load values in linux is generally cited the no. of processes in queue or being currently processed, but it counts other factors too...thats why it's system load and not CPU load.

    There might be IO/network latency or other factors too. In some cases, you can still have a quite responsive website even if load values cross 10!
     
    agnivo007, Nov 6, 2007 IP