You're apprently right. "2G" is not the cause. Rather, it should be this (I didn't test it):
http://cateee.net/lkddb/web-lkddb/MEMCG_SWAP_ENABLED.html at least ubuntu's 3.16.0-28-generic has # CONFIG_MEMCG_SWAP_ENABLED is not set On Thu, Feb 26, 2015 at 9:19 PM, CDR <[email protected]> wrote: > It should work with 2G. The rest a bad excuse. It has become a standard in > the software industry. > > On Thu, Feb 26, 2015 at 8:49 AM, Fajar A. Nugraha <[email protected]> wrote: > >> On Thu, Feb 26, 2015 at 6:51 PM, PONCET Anthony <[email protected]> wrote: >> >>> Hello, >>> I'm trying to used the memory.memsw.limit_in_bytes, and I have this >>> error when I trying to set this : "lxc-cgroup -n c_name >>> memory.memsw.limit_in_bytes 2G >>> >> >> The name does say "limit_in_bytes", not "limit_in_human-friendly_format". >> Did you try putting 2147483648 instead of 2G? >> >> -- >> Fajar >> >> _______________________________________________ >> lxc-users mailing list >> [email protected] >> http://lists.linuxcontainers.org/listinfo/lxc-users >> > > > _______________________________________________ > lxc-users mailing list > [email protected] > http://lists.linuxcontainers.org/listinfo/lxc-users >
_______________________________________________ lxc-users mailing list [email protected] http://lists.linuxcontainers.org/listinfo/lxc-users
