Strange results... see below: root@sylar ~ $cat /cgroup/memory.limit_in_bytes 9223372036854775807 root@sylar ~ $echo "9223372036854775807" > /cgroup/memtest/memory.limit_in_bytes -bash: echo: write error: Invalid argument root@sylar ~ $echo $((9223372036854775807 - 4095)) > /cgroup/memtest/memory.limit_in_bytes root@sylar ~ $echo $((9223372036854775807 - 4094)) > /cgroup/memtest/memory.limit_in_bytes -bash: echo: write error: Invalid argument
I'll see if I can get strace results shortly. Thanks, On Fri, Sep 21, 2012 at 10:34 AM, Balbir Singh <bsinghar...@gmail.com> wrote: >> # Configuration file generated by cgsnapshot >> mount { >> memory = /cgroup; >> } >> >> group memtest { >> memory { >> memory.limit_in_bytes="9223372036854775807"; >> } >> } >> root@sylar ~ $cgconfigparser -l cgconfig.new >> cgconfigparser; error loading cgconfig.new: This kernel does not >> support this feature >> root@sylar ~ $vi cgconfig.new >> # Configuration file generated by cgsnapshot >> mount { >> memory = /cgroup; >> } >> >> group memtest { >> memory { >> memory.limit_in_bytes="9123372036854775807"; >> } >> } >> root@sylar ~ $cgconfigparser -l cgconfig.new > > Hi, Dusty > > Does echo 9223372036854775807 > /cgroup/memtest/memory.limit_in_bytes > work? As an alternate could you try changing 9223372036854775807 to -1 > and see if that works? I would be interested in ltrace/strace output > when you run the commands as well > > Regards, > Balbir -- Dusty ------------------------------------------------------------------------------ Got visibility? Most devs has no idea what their production app looks like. Find out how fast your code is with AppDynamics Lite. http://ad.doubleclick.net/clk;262219671;13503038;y? http://info.appdynamics.com/FreeJavaPerformanceDownload.html _______________________________________________ Libcg-devel mailing list Libcg-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libcg-devel