Re: [lxc-users] Attach a lxc container to an existing cgroup ?

2014-03-21 Thread Serge Hallyn
Quoting Jäkel, Guido (g.jae...@dnb.de): Dear Sebastian, as to my knowledge, with the current version of LXC you might use more than one configuration file and in addition, there's a file include option in the configuration parser. And even with an older, you may simulate this by a little

Re: [lxc-users] Attach a lxc container to an existing cgroup ?

2014-03-21 Thread Guido Jäkel
On 2014-03-21 15:24, Serge Hallyn wrote: [...]. But you may write a little script that will re-read the lxc configuration and update the definded cgroup entries. @Serge: Such an lxc-reconfigure command may be something to add to the lxc package. What would the lxc-reconfigure command do

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

Re: [lxc-users] Attach a lxc container to an existing cgroup ?

2014-03-21 Thread Serge Hallyn
Quoting Guido Jäkel (g.jae...@dnb.de): On 2014-03-21 15:24, Serge Hallyn wrote: [...]. But you may write a little script that will re-read the lxc configuration and update the definded cgroup entries. @Serge: Such an lxc-reconfigure command may be something to add to the lxc package.

Re: [lxc-users] Apparmor profile boken

2014-03-21 Thread Serge Hallyn
If this is a stock ubuntu 14.04 system, please do file a bug asap against apparmor. If possible, using 'ubuntu-bug apparmor' from one of the failing hosts (maybe global04). I haven't seen this myself, but it sure looks bad. Quoting Flo (florian.engelm...@gmail.com): Hi, after patching 6