Hi guys,
In our environment, we found the following problem:

we have a process and it has some threads with the same name:

# ps  -L -eo comm,pid,lwp,args,start |grep Test
Testd          4489   4489 /usr/bin/Testd           09:03:39
Testd          4489   4582 /usr/bin/Testd           09:03:39
Testd          4489   4584 /usr/bin/Testd          09:03:39
Testd          4489   4585 /usr/bin/Testd           09:03:39
Testd          4489   4587 /usr/bin/Testd           09:03:39


the cgrule is:

*:Testd          cpu,memory,cpuset          test

if the Testd has been running, and then restart or start cgred service, just 
the process
4489 will move into test cgroup, but the other threads just leave in the root 
cgroup,
the reason seems that cgred just move running processes according /proc, but 
thread isn't
listed under /proc, should not cgred deal with this situation?


------------------------------------------------------------------------------
Slashdot TV.  Video for Nerds.  Stuff that Matters.
http://pubads.g.doubleclick.net/gampad/clk?id=160591471&iu=/4140/ostg.clktrk
_______________________________________________
Libcg-devel mailing list
Libcg-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libcg-devel

Reply via email to