Newbie Dedcated Server Owner Getting High Server Load. Worry?

Discussion in 'Site & Server Administration' started by andheresjohnny, Jan 20, 2008.

  1. #1
    I just moved my sites over to a Linux dedicated server. One wordpress embedded video site gets around 12,000 uniques per day.

    My server load hovers around 1.2 and sometimes jumps to 8 or 9 for 5 or 15 minutes at a time. I've accessed my website when the server load shows 5 and did not experience a slowdown.

    Do I need to be concerned about this, especially if I don't notice any performance dedgradation?

    If so, are there any standard apache log files I should be looking at to see what is putting such a load on the server? I'm new at all of this dedicated server stuff and am not very knowledgable.

    Thanks.
     
    andheresjohnny, Jan 20, 2008 IP
  2. Pathan

    Pathan Well-Known Member

    Messages:
    2,196
    Likes Received:
    218
    Best Answers:
    0
    Trophy Points:
    165
    #2
    Open your WHM and follow the following steps to see which process is taking load

    Main >> System Health >> Show Current CPU Usage
    You can easily kill the process which is taking too much load. try it out
     
    Pathan, Jan 20, 2008 IP
  3. tulip4heaven

    tulip4heaven Well-Known Member

    Messages:
    2,774
    Likes Received:
    86
    Best Answers:
    0
    Trophy Points:
    160
    #3
    If your script is using MYsql Database then you need to optimize your db for maximum connections

    Thanks
    Tulip
     
    tulip4heaven, Jan 20, 2008 IP
  4. andheresjohnny

    andheresjohnny Well-Known Member

    Messages:
    964
    Likes Received:
    31
    Best Answers:
    0
    Trophy Points:
    120
    #4
    Thanks. I'l take a look.
     
    andheresjohnny, Jan 20, 2008 IP
  5. andheresjohnny

    andheresjohnny Well-Known Member

    Messages:
    964
    Likes Received:
    31
    Best Answers:
    0
    Trophy Points:
    120
    #5
    Yes, it does use mysql. I'll read up on optimizing the database for max connections.

    Thanks.
     
    andheresjohnny, Jan 20, 2008 IP
  6. agnivo007

    agnivo007 Peon

    Messages:
    4,290
    Likes Received:
    289
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Identify what's causing the bottleneck apache, mysql or both.

    Optimize mysql, use php caching and wordpress object caching (I can do it professionally if needed).
     
    agnivo007, Jan 20, 2008 IP
  7. Pathan

    Pathan Well-Known Member

    Messages:
    2,196
    Likes Received:
    218
    Best Answers:
    0
    Trophy Points:
    165
    #7
    Yeah sure you can try that out, and other option would be to ask your host to optimize your Apache and mysql according to the resources. It might solve the problem too.
     
    Pathan, Jan 20, 2008 IP
  8. andheresjohnny

    andheresjohnny Well-Known Member

    Messages:
    964
    Likes Received:
    31
    Best Answers:
    0
    Trophy Points:
    120
    #8
    Good suggestion ... unfortunately my dedicated server host is Godaddy, and as they advertise they will do NOTHING after turning over the server to you. Hell, you even have to prepay 3 months of server hosting and assisted management services ($900 total upfront) for the privilage of being able to pay them an hourly rate to look at you machine.

    THAT is why I am switching to Hostgator after just one month of Godaddy dedicated server hosting.

    Still pisses me off.

    But thanks again.
     
    andheresjohnny, Jan 20, 2008 IP
  9. agnivo007

    agnivo007 Peon

    Messages:
    4,290
    Likes Received:
    289
    Best Answers:
    0
    Trophy Points:
    0
    #9
    Oh lol...you're still stuck to godaddy and hostgator for dedicated servers? Wake up...! $300/month can get you a monster server elsewhere!
     
    agnivo007, Jan 20, 2008 IP
  10. grk519

    grk519 Peon

    Messages:
    293
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #10
    Agreed you can definately get a cheaper box elsewhere with the same specs as these huge companies. If you are familiar with editing the configuration files through SSH I can send you some methods of optimization through PM.

    Sounds like you will need to install something like eAccelerator or Zend Optimizer as well.
     
    grk519, Jan 21, 2008 IP
  11. rllunzmann

    rllunzmann Active Member

    Messages:
    1,796
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    80
    #11
    As a rule of thumb, i would login as root and check CPU usage and Apache status. Also server status may not report current values. They may be reflected from an earlier point in time. I would just ask your host where you have the box hosted.
     
    rllunzmann, Jan 21, 2008 IP
  12. andheresjohnny

    andheresjohnny Well-Known Member

    Messages:
    964
    Likes Received:
    31
    Best Answers:
    0
    Trophy Points:
    120
    #12
    Ok, thanks for all the tips folks.
     
    andheresjohnny, Jan 26, 2008 IP
  13. Requi3m

    Requi3m Guest

    Messages:
    15
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #13
    wordpress is your main problem. If I had a dollar for every wordpress site digg has downed...
     
    Requi3m, Jan 26, 2008 IP
  14. andheresjohnny

    andheresjohnny Well-Known Member

    Messages:
    964
    Likes Received:
    31
    Best Answers:
    0
    Trophy Points:
    120
    #14
    Yeah, you may be right about that. I believe I've heard that before. I have it mega-customized with plugins .... that probably isn't helping either.
     
    andheresjohnny, Jan 26, 2008 IP
  15. boltok

    boltok Active Member

    Messages:
    257
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    78
    #15
    Well it appears most of the load is due to the videos you are serving. The main bottleneck is probably your bandwidth and disk storage so you might want to look at how you can scale those.

    Have you thought about moving them to a CDN (content delivery network)? That may not be suitable for you, cost wise, but you can have the data served from a separate server, optimized for just this task. Then add more such servers once the usage demands it.
     
    boltok, Jan 26, 2008 IP