CPU usage is it too high?

Discussion in 'Site & Server Administration' started by joujoba, Mar 18, 2010.

  1. #1
    hello

    on my server i got this CPU usage:
    untitled..JPG

    is it bad or good?
    thank you
     
    joujoba, Mar 18, 2010 IP
  2. zacharooni

    zacharooni Well-Known Member

    Messages:
    346
    Likes Received:
    20
    Best Answers:
    4
    Trophy Points:
    120
    #2
    This would depend on what your server does. Is this a webserver, database server, firewall?
     
    zacharooni, Mar 18, 2010 IP
  3. joujoba

    joujoba Peon

    Messages:
    100
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    well it's a dedicated sever that hosts my site and a phpbb board. so i think itruns MySQL for phpbb.
     
    joujoba, Mar 18, 2010 IP
  4. RHS-Chris

    RHS-Chris Well-Known Member

    Messages:
    1,007
    Likes Received:
    35
    Best Answers:
    10
    Trophy Points:
    150
    #4
    How many processors do you have? If you use phpbb, then yes, you use MySQL. You can tune it so that if responds quicker. I would also suggest adding in a php caching engine to help serve pages faster.
     
    RHS-Chris, Mar 18, 2010 IP
  5. joujoba

    joujoba Peon

    Messages:
    100
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    thanks for the info^
    i was thinking of installing APC (Alternative PHP Cache) do you recommend that?

    i have: CPU 330 @ 1.60GHz
     
    joujoba, Mar 18, 2010 IP
  6. RHS-Chris

    RHS-Chris Well-Known Member

    Messages:
    1,007
    Likes Received:
    35
    Best Answers:
    10
    Trophy Points:
    150
    #6
    Sounds like you only have one processor then...? If that's the case, then you load averages are way to high. 100% usage of the processor would be a value of 1.0. APC is good, I've had good luck with eAccelerator as well.
     
    RHS-Chris, Mar 18, 2010 IP
  7. joujoba

    joujoba Peon

    Messages:
    100
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    thanks then! i will install it.
     
    joujoba, Mar 18, 2010 IP
  8. joujoba

    joujoba Peon

    Messages:
    100
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #8
    by the way wouldn't this cause my server to crash everyday (the APC)? as i have read somewhere that it causes crashes everyday :(
     
    joujoba, Mar 18, 2010 IP
  9. RHS-Chris

    RHS-Chris Well-Known Member

    Messages:
    1,007
    Likes Received:
    35
    Best Answers:
    10
    Trophy Points:
    150
    #9
    I have my doubts that this would cause a server to crash if it is configured properly, as I know many people use it. I would install it, and if you start having issues with it, then go to the next step.
     
    RHS-Chris, Mar 19, 2010 IP
  10. olddocks

    olddocks Notable Member

    Messages:
    3,275
    Likes Received:
    165
    Best Answers:
    0
    Trophy Points:
    215
    #10
    mysql could be the culprit. may be too many long queries. just use the top command and check which process is taking too much cpu.
     
    olddocks, Mar 19, 2010 IP
  11. Jamson

    Jamson Active Member

    Messages:
    403
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    60
    #11
    You also seem to have some spare RAM. I recommend downloading mysqltuner and running it.
     
    Jamson, Mar 19, 2010 IP