Dave Hansen <[EMAIL PROTECTED]> 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
[EMAIL PROTECTED]
https://lists.linux-foundation.org/mailman/listinfo/containers

_______________________________________________
Devel mailing list
Devel@openvz.org
https://openvz.org/mailman/listinfo/devel

Reply via email to