[lxc-users] Problem with memory.memsw.limit_in_bytes on Ubuntu 14.04.

Fajar A. Nugraha list at fajar.net
Thu Feb 26 14:36:58 UTC 2015


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 <venefax at gmail.com> 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 <list at fajar.net> wrote:
>
>> On Thu, Feb 26, 2015 at 6:51 PM, PONCET Anthony <ff240 at msn.com> 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
>> lxc-users at lists.linuxcontainers.org
>> http://lists.linuxcontainers.org/listinfo/lxc-users
>>
>
>
> _______________________________________________
> lxc-users mailing list
> lxc-users at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20150226/f3854883/attachment.html>


More information about the lxc-users mailing list