Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

From what I understand with OpenVZ you just increase privvmpages and vmguarpages for the swap memory, and even though the guest shows it as RAM the host will swap it were possible.

Am I right here or does it work differently

Update: Even setting the RAM to 3gb (swap+memory) for the container it still messes up because some programs allocate a lot of memory they don't use. I'm switching back to a full virtualization solution but a good answer to this would be nice.

share|improve this question

This sounds right to me... but I forwarded this question to someone who is more knowledgeable. Maybe that person will provide some more details.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.