Re: [Testing CGROUP inside CONTAINER]: BUG#1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dave Hansen <dave@xxxxxxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linux-foundation.org/mailman/listinfo/containers

[Index of Archives]     [Cgroups]     [Netdev]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux