[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lxc-users
Subject:    [lxc-users] Attach a lxc container to an existing cgroup ?
From:       serge.hallyn () ubuntu ! com (Serge Hallyn)
Date:       2014-03-21 20:10:02
Message-ID: 20140321201002.GB2650 () ac100
[Download RAW message or body]

Quoting Guido J?kel (G.Jaekel at 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.
> > 
> > What would the lxc-reconfigure command do exactly?
> 
> Re-apply all lxc.cgroup entries from the config(s) to a running container, espc. to \
> update values for resource limiters like memory, cpu, blkio or such. 
> Maybe the lcx-group tool is a good place to offer such a facility.
> 
> Guido
> 

lxc-cgroup reload?  Might be good.

I also think we can do something to accomodate OP's goals.  I'm hoping
someone else will code both :)


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic