Re: container userspace tools

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

 



Ian jonhson wrote:
>> With what version of the kernel due you see this problem. The memory
>> controller is undergoing a churn and I think we found something that
>> potentially breaks the memory controller in the current -mm. To verify
>>
> I am not sure whether the -mm is opened. I just opened the options as
> said in REAEME of lxc-0.3.0. And, the kernel version in my VM is:
> 2.6.27-rc8.

2.6.27.8 is out, perhaps you should try this version which contains the 
latest bug fixes.

>> 1. Can you see the memory.usage_in_bytes corresponding to the control
>> group where you run the container
> 
> How can I know the number correspond to the control group?

Assuming you created a container named "foo", you should be able 
retrieve these values with the following commands:

lxc-cgroup -n foo tasks
lxc-cgroup -n foo memory.usage_in_bytes

The lxc-0.5.1 has been released and it fixes some bugs related with the 
cgroup management.

>> 2. Check tasks file to see that the container tasks are indeed in the
>> container.
>>
> 
> My program forks a child and its child (grandson of previous process) call the
> the /bin/bash to open a shell. I just can find the parent process is
> in container
> tasks file, but its child and grandson process are not.
> 
> 
> Any help?
> 

_______________________________________________
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