On Tue 2011-05-17 (09:10), Daniel Lezcano wrote:

> > Why can a container process allocate more than 1 GB of memory if there is
> > 512 MB limit?
> 
> When a process reaches the memory limit size then the container will 
> begin to swap. This is not really what we want as 

Oh... no!


> In order to disable the swap, you have to set the 
> memory.memsw.limit_in_bytes = memory.limit_in_bytes.

Thanks! This does the trick!

-- 
Ullrich Horlacher              Server- und Arbeitsplatzsysteme
Rechenzentrum                  E-Mail: [email protected]
Universitaet Stuttgart         Tel:    ++49-711-685-65868
Allmandring 30                 Fax:    ++49-711-682357
70550 Stuttgart (Germany)      WWW:    http://www.rus.uni-stuttgart.de/

------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Lxc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lxc-users

Reply via email to