Linux VPS Server Load Question

Discussion in 'Site & Server Administration' started by Actor Mike, Feb 16, 2007.

  1. #1
    I'm hosting some sites on a Linux VPS - it's not a managed server. To be honest, I haven't got any server side experience and the 'support' for the VPS is limited and not very helpful.

    The server is currently running at around 70% System Usage according to Virtuozzo and I keep getting QoS alerts (privvmpages). There is little traffic running through the VPS so this suggests to me that there is a problem.

    The 'support' team tell me that I can check what is running on the VPS using SSH but I have no idea what to look for or how to look for it.

    Can anyone give me some advice on this?

    Cheers,

    MB
     
    Actor Mike, Feb 16, 2007 IP
  2. scdc

    scdc Peon

    Messages:
    31
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    To verify what is going on on server you should use shell commands :

    ps -aux ( will show you all processes and owners )
    top ( will show you cpu and memory usage total and by each process )
     
    scdc, Feb 16, 2007 IP
  3. tanfwc

    tanfwc Peon

    Messages:
    579
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #3
    What control panel are you using? Have you tweak Apache & MySQL?
     
    tanfwc, Feb 16, 2007 IP
  4. Markwebuk

    Markwebuk Well-Known Member

    Messages:
    1,595
    Likes Received:
    17
    Best Answers:
    2
    Trophy Points:
    113
    #4
    If you are getting QoS alerts (privvmpages) then it means that your vps is running out of memory. If you have cpanel/WHM on your vps then with the help of WHM you can check apache status, MySQL usage etc.
    WHM >> Server Status >> Apache Status
    WHM >> Server Status >> CPU/Memory/MySQL Usage
    Try optimizing the big data bases and my.cnf in such a way that the sleep process will not be run for the long time
     
    Markwebuk, Feb 17, 2007 IP
  5. Actor Mike

    Actor Mike Peon

    Messages:
    333
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #5
    I'm using Virtuozzo
     
    Actor Mike, Feb 17, 2007 IP
  6. tanfwc

    tanfwc Peon

    Messages:
    579
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #6
    That is just a VPS control panel not what we are talking about "cPanel" :)
     
    tanfwc, Feb 17, 2007 IP
  7. Actor Mike

    Actor Mike Peon

    Messages:
    333
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #7
    OK well given that's what I'm using, I don't know quite how your response will help. As I said, I'm a server novice. As I understood it, cPanel is another control panel on the server in the same way that Virtuozzo is.
     
    Actor Mike, Feb 18, 2007 IP
  8. tanfwc

    tanfwc Peon

    Messages:
    579
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #8
    Login to your console and type this.

    top -c (press CTRL+M)
    Code (markup):
    Look what is taking up the resource.

    If not, I seriously advice you to get someone to login to your box to optimize the server.
     
    tanfwc, Feb 18, 2007 IP
  9. RaginBajin

    RaginBajin Peon

    Messages:
    87
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #9
    How much traffic are you getting on those sites? It sounds like your Apache instances could be really hindering your machine. So you might have to consider modifying the LoadModules that you have installed. This could help reduce some of the load because those modules are taking too much memory.
     
    RaginBajin, Feb 18, 2007 IP
  10. Actor Mike

    Actor Mike Peon

    Messages:
    333
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #10
    The traffic load is minimal - 350-500MB per day on the box. What is LoadModules and is it something that can be installed on a VPS without invalidating what little support I already get?

    Cheers,

    Mike
     
    Actor Mike, Mar 1, 2007 IP
  11. carl_in_florida

    carl_in_florida Active Member

    Messages:
    1,066
    Likes Received:
    63
    Best Answers:
    0
    Trophy Points:
    90
    #11
    Note to anybody in the future who reads this thread and is considering getting a vps without knowing how to manage one . . . buy the managed plan.

    I am with slhost and my server was burning up resources all the time. They got out the special prvimages screwdriver and did something to make it quit acting up.

    Do yourself a favor and find someone who you trust and pay them to monkey around with the httpd and apache stuff (whatever they are).

    This will not go away without some expert level help.
     
    carl_in_florida, Mar 2, 2007 IP
  12. Actor Mike

    Actor Mike Peon

    Messages:
    333
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #12
    Carl - very valid point! It's something I've learnt the hard way. I just wish I had one of those special privvmpages screwdrivers :(
     
    Actor Mike, Mar 3, 2007 IP
  13. agnivo007

    agnivo007 Peon

    Messages:
    4,290
    Likes Received:
    289
    Best Answers:
    0
    Trophy Points:
    0
    #13
    agnivo007, Mar 3, 2007 IP
  14. Actor Mike

    Actor Mike Peon

    Messages:
    333
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #14
    Thanks for that - I'll have a look through it. It still looks double Dutch to me but I'll give it a whirl!
     
    Actor Mike, Mar 3, 2007 IP