On Fri, 22 May 2009 10:31:39 +0800
anqin <anqin....@gmail.com> wrote:

> > Are you booting with noswapaccount as a boot parameter?
> >
> 
> hmm....  I am not sure. I just compiled the kernel at default.
> Where can I check the boot parameter? In /boot/grub/menu.list,
> no the parameter yet.
> 
Hmm. When 

CONFIG_CGROUP_MEM_RES_CTLR=y
CONFIG_CGROUP_MEM_RES_CTLR_SWAP=y

And no special boot option, the memory cgroup directory will be.
==
[r...@bluextal cgroup]# ls /cgroups/A/
memory.failcnt                   memory.memsw.usage_in_bytes
memory.force_empty               memory.stat
memory.limit_in_bytes            memory.swappiness
memory.max_usage_in_bytes        memory.usage_in_bytes
memory.memsw.failcnt             memory.use_hierarchy
memory.memsw.limit_in_bytes      notify_on_release
memory.memsw.max_usage_in_bytes  tasks
==

You can see memory.memsw.* for limiting mem+swap usage.
This memory.memsw. files disappears when you set "noswapaccount" boot option...

I can only say "counld you confirm again ?"
 config, the kernel version etc...

Sorry for no help.

Bye.
-Kame


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

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

Reply via email to