Re: [lxc-users] How to set the resource limits to a container

2014-03-24 Thread Mingjiang Shi
Thank you, Andreas. The file memory.limit_in_bytes is under /cgroup/memory/lxc/[container]. By the way, what's the difference between memory.limit_in_bytes and memory.max_usage_in_bytes? On my system, the values are: [root@devmachine lxc110]# cat memory.limit_in_bytes 9223372036854775807

Re: [lxc-users] How to set the resource limits to a container

2014-03-21 Thread Guido Jäkel
Dear Andy, This will put pressure on the memory. If something can be given free (like the file cache), it will. Then, if it's still over the limit, either the Linux OOM thread will kill processses. Or the container will freeze, if you configure it with memory.oom_control = 1 RFTM at