Le 22/11/2011 19:34, Jarry a écrit :
> Thanks for help, but it still does not work for me.
> 1. /dev/cgroups is mounted and visible in host.
> 2. util-vserver version is 0.30.216_pre2910
> 3. I defined 512MB "soft" and 1GB "hard" limits:
>
> host # more /etc/vservers/vs6/cgroup/memory.limit_in_bytes
> 536870912
> host # more /etc/vservers/vs6/cgroup/memory.memsw.limit_in_bytes
> 1073741824
> host # more /dev/cgroup/vs6/memory.limit_in_bytes
> 536870912
> host # more /dev/cgroup/vs6/memory.memsw.limit_in_bytes
> 1073741824
>
> Yet in "vs6" guest I still see the whole 16GB RAM & 50GB swap:
>
> vs6 # free
> total used free shared buffers cached
> Mem: 16447700 426588 16021112 0 32840 38804
> -/+ buffers/cache: 354944 16092756
> Swap: 52428732 0 52428732
>
>
> So where is the problem? What am I doing wrong?
>
> Jarry
Are you sure that you got the "SYS_RESOURCE" capability in
/etc/vservers/vs6/bcapabilities?
Received on Tue Nov 22 20:03:45 2011