Try 1024M
2013/4/25 Robin Monjo (appldiget) <robin.mo...@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@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/lxc-users
>
>
--
Elie DELOUMEAU
06 42 11 72 93
e...@deloumeau.fr
------------------------------------------------------------------------------
Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET
Get 100% visibility into your production application - at no cost.
Code-level diagnostics for performance bottlenecks with <2% overhead
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap1
_______________________________________________
Lxc-users mailing list
Lxc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-users