On Wed, Nov 29, 2017 at 09:31:08AM +0000, Tian, Xianting (NSB - CN/Hangzhou) wrote: > Hi, > Sorry to trouble you, lxc experts. I met one confusion as below, could > you spare one minute to help me? > I created a container by "lxc-create" on CentOS host(lxc tool version > is > lxc-1.0.1.tar.gz<https://linuxcontainers.org/downloads/lxc/lxc-1.0.1.tar.gz> > ), its name is "cn-centos", I login the container by "lxc-console", > then run a task: "while true; do echo "xxx">/dev/null &". I checked > and found the task is not in > /sys/fs/cgroup/cpu/lxc/cn-centos/cgroup.procs(only /sbin/init 's PID > in this file), but it is in /sys/fs/cgroup/cpu/cgroup.procs. > After I upgrade lxc to version > 2.0.9(lxc-2.0.9.tar.gz<https://linuxcontainers.org/downloads/lxc/lxc-2.0.9.tar.gz>), > the task I create in container "cn-centos" is automatically added to > "/sys/fs/cgroup/cpu/lxc/cn-centos/cgroup.procs", which is our > expectation. > > I really want to know how you fix the issue, could you show the fix > code or the commit id? Thanks in advance
Hm, can you reproduce this with our latest 1.0.* release? https://linuxcontainers.org/downloads/lxc/lxc-1.0.11.tar.gz Christian _______________________________________________ lxc-devel mailing list lxc-devel@lists.linuxcontainers.org http://lists.linuxcontainers.org/listinfo/lxc-devel