[lxc-users] Is it possible to change memory limits without restarting container?

CDR venefax at gmail.com
Fri May 9 09:13:38 UTC 2014


Dear Serge
I type inside the container
free -g
and it shows the memory of the whole box.
Am sure that is not by design.
The customer must not see that.

Philip


On Thu, May 8, 2014 at 11:04 PM, Serge Hallyn <serge.hallyn at ubuntu.com> wrote:
> Quoting CDR (venefax at gmail.com):
>> Dear Friends
>> I found an example for the config file
>> lxc.cgroup.memory.limit_in_bytes = 5GB
>> lxc.cgroup.memory.memsw.limit_in_bytes = 6G
>>
>> But the container still shows100% of the memoty.
>
> what do you mean by 'shows'?
> _______________________________________________
> lxc-users mailing list
> lxc-users at lists.linuxcontainers.org
> http://lists.linuxcontainers.org/listinfo/lxc-users


More information about the lxc-users mailing list