<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from rtf -->
<style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
</head>
<body>
<font face="Calibri" size="2"><span style="font-size:10.5pt;">
<div>Hi,</div>
<div><font face="Arial" size="3" color="#242729"><span style="font-size:11.5pt;">Sorry to trouble you, lxc experts. I met one confusion as below, could you spare one minute to help me? </span></font></div>
<div><font face="Arial" size="3" color="#242729"><span style="font-size:11.5pt;">I created a container by "lxc-create" on CentOS host(lxc tool version is <a href="https://linuxcontainers.org/downloads/lxc/lxc-1.0.1.tar.gz"><font face="Segoe UI" size="2" color="#005573"><span style="font-size:11pt;"><u>lxc-1.0.1.tar.gz</u></span></font></a><font face="Calibri" size="2" color="black"><span style="font-size:11pt;">
</span></font>), 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. </span></font></div>
<div><font face="Arial" size="3" color="#242729"><span style="font-size:11.5pt;">After I upgrade lxc to version 2.0.9(<a href="https://linuxcontainers.org/downloads/lxc/lxc-2.0.9.tar.gz"><font face="Segoe UI" size="2" color="#005573"><span style="font-size:11pt;"><u>lxc-2.0.9.tar.gz</u></span></font></a>),
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.</span></font></div>
<div><font face="Times New Roman" size="2"><span style="font-size:11pt;"> </span></font></div>
<div><font face="Arial" size="3" color="#242729"><span style="font-size:11.5pt;">I really want to know how you fix the issue, could you show the fix code or the commit id?  Thanks in advance</span></font></div>
<div><font face="Times New Roman" size="2"><span style="font-size:11pt;"> </span></font></div>
<div><font face="Times New Roman" size="2"><span style="font-size:11pt;"> </span></font></div>
<div align="left" style="text-align:justify;"><font face="Times New Roman" size="2"><span style="font-size:11pt;"> </span></font></div>
<div align="left" style="text-align:justify;"><font face="Corbel" size="2"><span style="font-size:11pt;">Br,</span></font></div>
<div align="left" style="text-align:justify;"><font face="Corbel" size="2"><span style="font-size:11pt;">Tian Xianting(Tyron)<font face="Arial" color="#333333"> </font></span></font></div>
<div align="left" style="text-align:justify;"><font face="Corbel" size="2"><span style="font-size:11pt;">HangZhou</span></font></div>
<div align="left" style="text-align:justify;"><font face="Arial" size="2"><span style="font-size:10pt;">Mobile: +8615858134382</span></font></div>
<div align="left" style="text-align:justify;"><font face="Times New Roman" size="2"><span style="font-size:11pt;"> </span></font></div>
<div align="left" style="text-align:justify;"><font face="Times New Roman" size="2"><span style="font-size:11pt;"> </span></font></div>
<div><font face="Times New Roman" size="2"><span style="font-size:11pt;"> </span></font></div>
<div><font face="Times New Roman" size="2"><span style="font-size:11pt;"> </span></font></div>
</span></font>
</body>
</html>