[Devel] Re: No limitation in physical memory in cgroups

KAMEZAWA Hiroyuki kamezawa.hiroyu at jp.fujitsu.com
Wed May 20 16:58:57 PDT 2009


On Wed, 20 May 2009 18:35:34 +0800
anqin <anqin.qin at gmail.com> wrote:

> Thank you for answering.
> 
> >> # bash
> >> # echo $$
> >> 2253
> >>
> >
> I have checked again the experiment.
> And, the "2253" is typos, should be
> "2252" as the one written as follows.
> 
> I have retried the experiment and same
> result is given.
> 
> Any comment?  Does the limitation of
> physical memory not support in 2.6.29.3?
> Or, something missing maybe?
> 
> 
I wonder....

max_usage_in_bytes is not _reseted_ when you specified limit.
Then, please set limit before attaching task.

Sane sequence is.
1. mount
2. mkdir
3. set limit
4. attach.


Thanks,
-Kame

_______________________________________________
Containers mailing list
Containers at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers




More information about the Devel mailing list