[lxc-users] Memory limit fails in Ubuntu Server

CDR venefax at gmail.com
Fri May 9 10:09:14 UTC 2014


I found the issue
This line
lxc.cgroup.memory.limit_in_bytes = 5G

makes the container fail to start
while this one works
lxc.cgroup.memory.limit_in_bytes = 536870910

I think that we should be free to specify the memory in any format, be
MB, G, etc.

Philip

On Fri, May 9, 2014 at 6:00 AM, CDR <venefax at gmail.com> wrote:
> lxc-start -n utel-kde
>
> lxc-start: call to cgmanager_set_value_sync failed: invalid request
> lxc-start: Error setting cgroup memory.limit_in_bytes limit lxc/utel-kde
> lxc-start: Error setting memory.limit_in_bytes to 5GB for utel-kde
> lxc-start: failed to setup the cgroup limits for 'utel-kde'
> lxc-start: failed to spawn 'utel-kde'
>
> the line in my config file is
>
> lxc.cgroup.memory.limit_in_bytes = 536870910
>
> Yours
> Philip


More information about the lxc-users mailing list