[Lxc-users] Can't start container with cgroup limits
Elie Deloumeau
elie at deloumeau.fr
Thu Apr 25 10:54:25 UTC 2013
Try 1024M
2013/4/25 Robin Monjo (appldiget) <robin.monjo at applidget.com>
> Hello again,
>
> I'm facing a strange issue (a bug maybe ?) on ubuntu 12.04. Creating a
> simple container (lxc-create -t ubuntu -c cn0) and adding these lines in
> the config file:
>
> lxc.cgroup.memory.memsw.limit_in_bytes = 1G
> lxc.cgroup.memory.limit_in_bytes = 512M
> lxc.cgroup.cpu.shares = 512
>
> results in:
>
> lxc-start: write /sys/fs/cgroup/memory*//*lxc/cn0/memory.memsw.limit_in_bytes
> : Invalid argument
> lxc-start: failed to setup the cgroups for 'simple'
> lxc-start: failed to setup the container
> lxc-start: invalid sequence number 1. expected 2
> lxc-start: failed to spawn 'simple'
>
> The problem is probably the "//" in the path /sys/fs/cgroup/memory*//. *
> Anyway to fix this ?
>
> Kind Regards
> Robin
>
>
>
>
> ------------------------------------------------------------------------------
> Try New Relic Now & We'll Send You this Cool Shirt
> New Relic is the only SaaS-based application performance monitoring service
> that delivers powerful full stack analytics. Optimize and monitor your
> browser, app, & servers with just a few lines of code. Try New Relic
> and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
> _______________________________________________
> Lxc-users mailing list
> Lxc-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/lxc-users
>
>
--
Elie DELOUMEAU
06 42 11 72 93
elie at deloumeau.fr
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20130425/af0b47ab/attachment.html>
More information about the lxc-users
mailing list