Welcome to the JaguarPC Community
JaguarPC
Sales: (888) 338-5261
Support: (888)-551-3050
Results 1 to 13 of 13

This is a discussion on UHm - WHM or virtuosso CPU usage monitoring? in the VPS & Dedicated forum
Ok - now I'm REALLY confused. WHM says I'm in the red for resources - Virtuosso says I'm not, and I'm really low on usage ...

  1. #1
    JPC Member
    Join Date
    Feb 2006
    Posts
    26

    UHm - WHM or virtuosso CPU usage monitoring?

    Ok - now I'm REALLY confused.

    WHM says I'm in the red for resources - Virtuosso says I'm not, and I'm really low on usage - which do I go by?

    The reason I ask is cause my sites aren't especially slow (and are faster since upgrade, as expected) but if that's my defining way of choosing to move, (server load/CPU usage) how can I tell which is right and which isn't?

    Thanks for any advice you can give

    Kai

  2. #2
    Jag Veteran
    Join Date
    Sep 2002
    Posts
    650
    Why wouldn't you set up your own resource monitoring tool then?

  3. #3
    JPC Member
    Join Date
    Feb 2006
    Posts
    26
    Could you reccomend one please? I'm a 'lil new at this stuff (can you tell?)

    Kai

  4. #4
    Loyal Client the_ancient's Avatar
    Join Date
    Feb 2004
    Posts
    3,386
    I dont know much about the VPS's. but maybe Viruozzo is monitoring the whole box, and WHM is telling you your little piece of it?

    Or mayvbe WHM is just on crack?????? If your sure Virtuzzo is only looking at your piece of the pie, I would trust it wellllllllllllllll before I trusted whm
    -------------------------
    the_ancient
    MP Technology Group

  5. #5
    JPC Addict
    Join Date
    Mar 2004
    Posts
    158
    I'd like to know this as well. Looking forward to replies.

  6. #6
    Voltron wannabe tank's Avatar
    Join Date
    Apr 2004
    Location
    Houston
    Posts
    306
    Log in as root to SSH and type "top"

    that will give you an accurate pisture of what your server load is.

  7. #7
    the Windlord Gwaihir's Avatar
    Join Date
    Jun 2002
    Posts
    2,562
    Trust Virtuozzo's readings over WHM's.

    WHM wasn't specifically meant to run on a VPS. It expects the available amount of CPU-power, memory and such to be fixed; a hard, hardware based limit. On a VPS those limits are sliding, as you're allowed to tap into the unused resources of other VPSses. Must confuse the crap out of WHM. Virtuozzo on the other hand is the software that makes those arrangements, so its load measuring tools should be made to cope with it.
    Regards,

    Wim Heemskerk
    ---
    Visit MeCCG.net - Cardgaming in J.R.R. Tolkien's Middle-earth
    And Gwaihir.net - The Middle-earth CCG store

  8. #8
    Jag Veteran
    Join Date
    Sep 2002
    Posts
    650
    Quote Originally Posted by Kaiberie
    Quote Originally Posted by gerilya
    Why wouldn't you set up your own resource monitoring tool then?
    Could you reccomend one please? I'm a 'lil new at this stuff (can you tell?)
    Try sar (bsdsar for FreeBSD) command first. If you can't find sar on your system, install sysstat rpm.
    After you get familiar with it, set it up to be executed from cron each 10mins.

  9. #9
    JPC Member
    Join Date
    Feb 2006
    Posts
    26
    I'm using top now - what its showing me is far different from either of them.

    My average load is 1.1 - it sometimes spikes to 2.3 - 3, but I know what's causing that and we're addressing it. But cpu useage is only 4%. So what should I worry about, load or CPU usage? Or both, or neither? Or?

    The other thing I've noticed is that when WHM is crashing, load spikes to 18 or 19, just to get the bloody CPRSVD or whatever its called restarted. And then the server goes offline for a couple of minutes.

    What really bothers me is that its fine whilst running - its not overly slow (in fact its faster than either of the servers I've been on to date) but its also prone to locking up.

    Sorry, I'm a noob - just throw things at me if you like

    Kai

  10. #10
    Voltron wannabe tank's Avatar
    Join Date
    Apr 2004
    Location
    Houston
    Posts
    306
    Load is a function of CPU usage. when you run top you should have a list of services that shows a percentage of CPU usage. For instance there is a mysql service that may be at 2 or something. what service is showing the highest reading?

  11. #11
    Ron
    Ron is offline
    Loyal Client
    Join Date
    Aug 2002
    Posts
    7,312
    Load is NOT just a function of CPU usage. Load is the average runnable-queue depth.

    Processes waiting for Disk I/O are on the runnable queue, therefore add to the queue depth. My guess, from his description of 4% CPU with a server load of 1 sounds like his VPS is I/O bound to me.

    That I/O may be from straight disk data read/writes, or it could be caused by paging memory to disk. I can't tell from my chair over here.

    The top command may give some clue to this; at the top there are numbers like this:
    Cpu(s): 6.9% us, 2.0% sy, 0.0% ni, 16.4% id, 74.7% wa, 0.0% hi, 0.0% si

    See that 74% wa? That's I/O wait. The CPU is actually idle during I/O wait, the data shows up in this column when there is nothing for the CPU to do but sit around and wait for the I/O to be completed. So the total Idle for this machine is 91%+ while the server load is 9+ because there are so many processes sitting in the wait I/O queue.

    Also there is a line about Swap; that's how much disk space has been allocated for swapping data in and out of memory. If the "used" number is high, memory usage would be a good place to start to track down the problem.
    Last edited by Ron; 03-02-2006 at 10:34 PM.

  12. #12
    Voltron wannabe tank's Avatar
    Join Date
    Apr 2004
    Location
    Houston
    Posts
    306
    Quote Originally Posted by Ron
    Load is NOT just a function of CPU usage. Load is the average runnable-queue depth.
    yes. i realize I didn't say that explicitly but that's what I was implying. If we can nail down what service is the resource og it would help remendously. A print out of the top report suring high load would be really helpful.

  13. #13
    JPC Member
    Join Date
    Feb 2006
    Posts
    26
    Actually, I tracked it down - I've altered the load warning setting, turned off logging and backup 24/7 (dunno why it was doing that, its now back to the least used hours on the server) and I'm working on optimising the settings to actually BE useful for a cpanel/VPS install.

    Top gave me quite an eye opening look at things though - far and away, I'm going to have to track down why my MYsql spikes so dramatically, so I'm also working on that.

    I also found that setting my 'extra cpus' setting in one of the setting places to 2, and upping the load warning to 5 helped tremendously - doesn't lock up quite so often now.

    NOW all I have to do is get up the courage to play with the apache settings like it suggests and pray I don't accidentally kill the VPS again

    Thanks again for your help!

    Kai

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •