[lxc-users] some command line questions

Fırat KÜÇÜK firatkucuk at gmail.com
Tue Apr 28 16:42:11 UTC 2015


i tried:

lxc config set ilactakip limits.memory 4GB

lxc accepted the key but container doesn't start.

  lxc_container 1430238697.214 INFO     lxc_cgroup -
cgroup.c:cgroup_init:65 - cgroup driver cgmanager initing for ilactakip
  lxc_container 1430238697.216 INFO     lxc_monitor -
monitor.c:lxc_monitor_sock_name:177 - using monitor sock name
lxc/92ea7555d42fc75c//var/lib/lxd/lxc
  lxc_container 1430238697.219 ERROR    lxc_cgmanager -
cgmanager.c:cgm_setup_limits:1247 - call to cgmanager_set_value_sync
failed: invalid request
  lxc_container 1430238697.219 ERROR    lxc_cgmanager -
cgmanager.c:cgm_setup_limits:1250 - Error setting cgroup
memory:lxc/ilactakip limit type memory.limit_in_bytes
  lxc_container 1430238697.219 ERROR    lxc_start - start.c:lxc_spawn:984 -
failed to setup the cgroup limits for 'ilactakip'
  lxc_container 1430238697.286 ERROR    lxc_start -
start.c:__lxc_start:1164 - failed to spawn 'ilactakip'







2015-04-28 19:25 GMT+03:00 Fırat KÜÇÜK <firatkucuk at gmail.com>:

> Hi,
>
> ı want to use lxd on my dedicated server to seperate my projects like kvm
> based VPSs.
>
> So i cannot find a complete document about lxd
>
> how can i limit memory of my lxd container?
>
> I tried something like this but cannot succeeded
>
> lxc config set ilactakip lxc.cgroup.memory.limit_in_bytes 53687091
>
>
> and how can i rename my container?
>
> regards.
>
>
>
> --
> FIRAT KÜÇÜK
>



-- 
FIRAT KÜÇÜK
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20150428/d3b79616/attachment.html>


More information about the lxc-users mailing list