2 resources based questions

Discussion in 'Linux VPS/Dedicated - General' started by Jleagle, Aug 1, 2007.

  1. Jleagle

    Jleagle New Member

    1. I keep seeing "Load Averages" everywhere, what are they and what do they mean?
    My CPU load can be running at 3% while the 3 averages are like 0.3, 0.2, 0.01.

    2. WHM tells me all my cPanel accounts used disk space adds up to around 1500mb, yet Virtuozzo is telling me i have used 4500mb of space. I know cPanel its self uses up some room, but not that much. Recently my used disk space has grown quite alot, while im not uploading anything. Where could all this disk usage come from?

    Thanks.
     
  2. gameutopia

    gameutopia New Member

    I couldn't tell you for sure about load averages. It goes up and down depending on what's running. Backups chew up the cpu, while some simpler tasks just pull a little briefly. For some reason when I upload by means of a ftp client my cpu jumps 3-5% for one user.

    Whm/cpanel takes part of your space, but there is also everything else required to run your vps. The operating system itself takes a big chunk.

    There is also any whm/cpanel automated backups you might have that run daily, weekly, monthly, etc. that are saved to your allowed space. I download them, and keep 1 or 2 on the server and delete the older ones, as I have a hard copy on my computer.

    Also any other 3rd party scripts you might have installed will consume space.

    If you use the yum update feature generally you'll get some increase in space.

    I don't know how long you've had whm/cpanel or what version, but the cpanel 11 updates from version 10 have been decent in size. And there are some temp files associated with the updates that consume space I think they are in /home/.cpan and /home/.cpcpan I've heard you can delete them but I just keep them anyway.

    I honestly wish we were allowed an additional 1 gb or so for the operating system like some other hosts do, or at least a better description of how much free space you can expect with nothing on your vps except for the necessary files to run it, or a slightly better deal on additional space.

    I'm not complaining I'm still happy and content with everything here.

    gameutopia
     
  3. Jleagle

    Jleagle New Member

    OK thanks. Recently it has shot up quite abit but i guess it all happened the same time as my cPanel upgrade which makes sence. I think its also temp files, like you say and logs of some sort.
     
  4. Dan

    Dan Moderator

    Jleagle,

    Take a look under your home folder and if you see things there that you know aren't your users (like .cpan, .cpcpan, one for apache and so on) they are safe to remove. These are the source files that are downloaded for CPanel updates and once the updates are installed they are no longer needed.

    Also take a look in your /var/logs folder. The majority of your logs are stored there and some IIRC are not set to roll over so can get very large.

    Hope that helps
     
  5. Jleagle

    Jleagle New Member

    Thanks, i dont seem to have a "logs" folder, but in "log" theres a bunch of logs (obviously), none of which are taking up too much room so i left them.

    I do also have the .cpan and .cpcpan, will these ever get removed automaticly? or overwritten when another version of cPanel comes out?
     
  6. magic

    magic New Member

  7. Jleagle

    Jleagle New Member

    Thanks, good ol' Wikipedia

    EDIT:

    So i guess its used to see weather the cpu load is rising or falling over the last 15 minutes...
     
  8. VibrantStream.com

    VibrantStream.com New Member

    As gameutopia said
    "The operating system itself takes a big chunk."
    The space you specified = 1500 mb.
    Total taken = 4500 mb.
    4500 - 1500 = APPROX 3GB left to cPanel and the O.S.
    This sounds about right :]
    Nothing to get worried about.

    And about the load averages.
    1st number = Every one minute load average.
    2nd number = Every five minute load average.
    3rd number = Every 15 minute load average.

    IE: if you used 0.3, 0.2, 0.01.
    0.3 = Every one minute average.
    0.2 = Every five minute average.
    0.01 = Every 15 minute average.

    -Kody.
     
  9. Dan

    Dan Moderator

    DOH, yes it's /var/log sorry about that :)

    Cpanel will continue to use these folders but they will never be removed automatically, you have to do that yourself. They will recreate automatically though of course.

    To see how much space is used the command is: du -h --max-depth=1
    And that is disk usage shown in human readable format for directories one deep so you'd run that in your /home directory and it would show you the disk usage for all directories in that directory.
     
  10. ppc

    ppc Moderator

    Here's an excerpt from some info I got from a KH support rep a while ago:
     

Share This Page