Results 1 to 11 of 11
  1. #1
    Join Date
    Jul 2010
    Location
    Close 2 U
    Posts
    549

    OpenVZ questions ?

    Guys ...

    1- what would happen if the total granted RAM to VPSs are more than the physical one ?

    2- what would happen if the total granted burstable RAM to VPSs are more than the physical one ?

    3- when I grant a RAM for a VPS, would it cut directly from the physical original one? what i mean, if my node has 4 GB, and if i granted 1 GB for a VPS, whould free -m show a 3 GB only ? and the same question from HDD Space ?

    advise in details plz ?

    Not as that Much Expert
    I'm just a "LostEagle"
    _-_-_-_-_-_-_-_-_-_-_-_-_

  2. #2
    Join Date
    Jan 2010
    Location
    so cal
    Posts
    232
    1 & 2) You can create a vps with 32GB on a node with only 4GB as long as the actual ram used doesn't exceed 4GB.

    3) No, if you grant 1GB to a VPS, it will not "cut" it from the node. When you run the free -m on the VPS it will show the ram used, ram free, and total ram (which is 1GB). When you run the free -m command on the actual node, it will show the real ram usage. For example, if you give a VPS 1GB of ram, but it only uses 100mb, the node will show that it has 3.9GB free. The same concept is with HDD space. You can give a VPS 5TB, even though you know your node doesn't have that much space.

    Overselling is bad, and only a few companies can oversell and manage it well.

  3. #3
    Join Date
    Jan 2003
    Location
    U.S.A.
    Posts
    3,911
    I think that this post is more suited for technical discussion forum.

  4. #4
    Join Date
    Jan 2010
    Location
    so cal
    Posts
    232
    I don't think he needs all the technical aspects, but he just wanted to know the overselling features of openvz.

    To put it simply:
    As long as the actual memory used doesn't exceed the physical memory your server will be fine. If it exceeds, then the process will be terminated. So you can grant a vps as much ram as you want, as long as it doesn't exceed the actual/physical ram. Same applies for HDD.

  5. #5
    Join Date
    Jul 2010
    Location
    Close 2 U
    Posts
    549
    Thanks a lot guys ...

    one more question:
    * If the server RAMs = 4GB , and 2 VPSs are ruining "VPS1= 1GB . VPS2 256 MB" , and the node show that "free -m" that I am using 3.9GB .. what should I do ?

    Not as that Much Expert
    I'm just a "LostEagle"
    _-_-_-_-_-_-_-_-_-_-_-_-_

  6. #6
    Join Date
    Jan 2003
    Location
    U.S.A.
    Posts
    3,911
    That wouldn't be possible if the VPS accounts are actually running that amount.

  7. #7
    Join Date
    Jul 2010
    Location
    Close 2 U
    Posts
    549
    this is what I am facing -- :-(
    is that possible if I am not using OpenVZ-PAE ?

    Not as that Much Expert
    I'm just a "LostEagle"
    _-_-_-_-_-_-_-_-_-_-_-_-_

  8. #8
    Join Date
    Jan 2003
    Location
    U.S.A.
    Posts
    3,911
    You might want to look into the proper way to read ram usage. Linux likes to cache memory and therefore may appear that its using the full ram amount.

    http://www.cyberciti.biz/faq/linux-check-memory-usage/

  9. #9
    Join Date
    Jul 2010
    Location
    Close 2 U
    Posts
    549
    THNX a lot guys ...
    have a nice days ...

    Not as that Much Expert
    I'm just a "LostEagle"
    _-_-_-_-_-_-_-_-_-_-_-_-_

  10. #10
    Join Date
    Jan 2003
    Location
    U.S.A.
    Posts
    3,911
    Your welcome and don't worry I did the same thing when I first started using Linux

  11. #11
    Join Date
    Jul 2010
    Location
    Close 2 U
    Posts
    549
    :-)
    THANKS

    Not as that Much Expert
    I'm just a "LostEagle"
    _-_-_-_-_-_-_-_-_-_-_-_-_

Similar Threads

  1. OpenVZ / Few Questions
    By The Calling in forum Hosting Security and Technology
    Replies: 1
    Last Post: 02-16-2011, 08:22 AM
  2. Replies: 0
    Last Post: 10-13-2010, 04:56 PM
  3. OpenVZ templates questions.
    By sumi in forum VPS Hosting
    Replies: 6
    Last Post: 08-28-2010, 11:29 PM
  4. OpenVZ questions
    By hpham in forum VPS Hosting
    Replies: 19
    Last Post: 09-23-2007, 08:52 PM

Posting Permissions

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