Results 1 to 9 of 9

Thread: Guaranteed RAM

  1. #1

    Guaranteed RAM

    Hi, experts,

    just one quick question, how do you know the RAM size assigned to your VPS? i just want to confirm that my RAM size is the same as what hosting company said on the website. thanks!

  2. #2
    Join Date
    Jun 2003
    Location
    UK
    Posts
    6,601
    Which software are they using to host you as the method for that changes. Also which OS?
    Russ Foster - Industry Curmudgeon

  3. #3
    hi, a2b2, thanks for the reply. the hosting company use virtuozzo, and it is on a linux box. web interface use plesk.

  4. #4
    Join Date
    Jan 2004
    Location
    Pennsylvania
    Posts
    939
    If they use Virtuozzo (SLM), Xen, or User Mode Linux you can use either the free or top commands to check memory usage.
    Matt Ayres - togglebox.com
    Linux and Windows Cloud Virtual Datacenters powered by Onapp / Xen
    Instant Setup, Instant Scalability, Full Lifecycle Hosting Solutions

    www.togglebox.com

  5. #5
    Join Date
    Oct 2006
    Posts
    44
    Quote Originally Posted by TheWiseOne
    If they use Virtuozzo (SLM), Xen, or User Mode Linux you can use either the free or top commands to check memory usage.
    I don't know about Xen or User Mode Linux, but Virtuozzo can have problems with top and free. That's becuse top and free look at the hardware, not your virtual environment. Look instead at the '/proc/user_beancounters' file. You'll find a list of the various limits that have been placed on your account. The 'barrier' is column is a soft limit, which can be surpassed, and the 'limit' column is the hard limit, which is just what it sounds like. The physpages resource is the row that will tell you how much memory is available.
    Last edited by spryandrew; 10-24-2006 at 05:40 PM.
    Andrew
    Spry VPS Hosting cPanel VPS, Plesk VPS, Webmin VPS, Shared, Domain Registration, Dedicated and Colo
    VPSLink Cheap VPS accounts CentOS, Fedora 4/5/6, RHEL, Gentoo, Debian, Ubuntu -- Dapper/Edgy, Slackware, OpenSUSE, LAMP + Ruby pre-installed available

  6. #6
    Join Date
    Jan 2004
    Location
    Pennsylvania
    Posts
    939
    Quote Originally Posted by spryandrew
    I don't know about Xen or User Mode Linux, but Virtuozzo can have problems with top and free. That's becuse top and free look at the hardware, not your virtual environment. Look instead at the '/proc/user_beancounters' file. You'll find a list of the various limits that have been placed on your account.
    Virtuozzo using SLM verus UBC method reports the RAM usage properly with the top and the free commands. /proc/user_beancounters has each the barrier and limit varables set to 9223372036854775807 since it doesn't use the UBC variables for memory management.
    Matt Ayres - togglebox.com
    Linux and Windows Cloud Virtual Datacenters powered by Onapp / Xen
    Instant Setup, Instant Scalability, Full Lifecycle Hosting Solutions

    www.togglebox.com

  7. #7
    i tried free and top two commands, but it looks like it is whole hardware RAM usage, instead of my own VPS RAM.

  8. #8
    Join Date
    Sep 2005
    Posts
    480
    So if barrier if:

    held: 4192579
    maxheld: 4212827
    barrier: 23977145
    limit: 26374860

    How much RAM is reserved for my little VPS portion? This account was supposed to have 512 minimum burstable to 2 Gigs.

  9. #9
    Quote Originally Posted by mealto
    So if barrier if:

    held: 4192579
    maxheld: 4212827
    barrier: 23977145
    limit: 26374860

    How much RAM is reserved for my little VPS portion? This account was supposed to have 512 minimum burstable to 2 Gigs.
    Greetings,

    Your memory size is most likely measured in 4KB. I would be looking at the locked pages, guarpages, and privvmpages. These will tell you amount you should have, amount gauranteed, and amount burstable.

    uid resource held maxheld barrier limit failcnt
    000000: kmemsize 4641775 4655135 19742720 20316160 0
    lockedpages 0 0 512 512 0
    privvmpages 65078 65084 253500 253500 0
    shmpages 91 91 43008 43008 0
    dummy 0 0 0 0 0
    numproc 60 60 480 480 0
    physpages 48410 48410 0 2147483647 0
    vmguarpages 0 0 122500 2147483647 0
    oomguarpages 48426 48426 100000 2147483647 0
    numtcpsock 29 29 720 720 0
    numflock 6 6 376 412 0
    numpty 1 1 32 32 0
    numsiginfo 0 2 512 512 0
    tcpsndbuf 0 0 3440640 5406720 0
    tcprcvbuf 0 0 3440640 5406720 0
    othersockbuf 28528 31448 2252160 4194304 0
    dgramrcvbuf 0 1204 524288 524288 0
    numothersock 23 25 720 720 0
    dcachesize 527790 530660 4546560 4833280 0
    numfile 1901 1902 11640 11640 0
    dummy 0 0 0 0 0
    dummy 0 0 0 0 0
    dummy 0 0 0 0 0
    numiptent 75 75 256 256 0

    Failcnt will show if you exceeded your barrier for that resource limitation.

Posting Permissions

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