[Devel] Re: [Testing CGROUP inside CONTAINER]: BUG#1
Rishikesh K Rajak
risrajak at in.ibm.com
Thu Dec 4 05:42:18 PST 2008
Dave Hansen <dave at linux.vnet.ibm.com> wrote on 12/04/2008 07:04:23 PM:
> On Thu, 2008-12-04 at 18:55 +0530, gowrishankar wrote:
> > It is expected behaviour of container, as PIDs in other namespaces will
> > always be shown as 0.
> > So here, these 0s are from system ns (probably, as you had only system
> > ns and delta ns).
>
> I think it is pretty bogus to be showing the 0's. It is "expected" only
> when we got access to a task which we were not supposed to receive.
>
> Rishi, is this any different in behavior if you do the cgroup mount
> after creating the container?
Actually i reported the problem when i am doing cgroup mount after creating
container only.
But one thing is very interesting here, if i do this:
mount cgroup on root -> then create container -> cat /cpu/tasks inside
container -> again you can see many zero's which is highly undesirable.
-Rishi
>
> -- Dave
>
_______________________________________________
Containers mailing list
Containers at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers
More information about the Devel
mailing list