[Users] Switching from VMWare to OpenVZ?

lists at yhmail.de lists at yhmail.de
Tue Apr 12 20:05:00 EDT 2011


we used 2.6.26-2-openvz-amd64 and Debian as the host.

What I don't understand is: Should we assigne all 24GB RAM plus swap  
to each virtual machine?
Since there is no swap to use inside the container, this seems to be  
the only way to avoid out of memory failures if you don't know what  
your programm is going to consume...
or am I missing something?


Zitat von Kir Kolyshkin <kir at openvz.org>:

> 13.04.2011 2:42 ???????????? <lists at yhmail.de> ???????:
>> Hello everybody,
>> my workgroup and me do mostly simulations of complex organic compounds and
> java programming. Since most of our programms run pretty unstable we have
> been using VMWare to virtualize our Servers (Intel i7-920 Quad-Core/24GB
>> A few months ago a colleague of mine tried OpenVZ and had a lot of
> troubles setting it up.
>> I think the most confusing part for him was the RAM/Swap-Management.
>> So I thought before we try it again, we might just ask others if they have
> a similar setup.
>> Currently we have 4 VM with 5 GB RAM/15GB Swap each. Since there is a lot
> calculation involved it is always hard to say how much memory will actually
> be used.
>> With OpenVZ we got the error "out of swap/memory" a lot.
>> What kind of settings, limits would you recommend with OpenVZ for that
> particular setup?
> What OpenVZ kernel are you using? Also, see
> http://wiki.openvz.org/Resource_shortage

More information about the Users mailing list