Try 1024M<br><br><div class="gmail_quote">2013/4/25 Robin Monjo (appldiget) <span dir="ltr"><<a href="mailto:robin.monjo@applidget.com" target="_blank">robin.monjo@applidget.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word">Hello again,<div><br></div><div>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:</div>
<div><br></div><div><div>lxc.cgroup.memory.memsw.limit_in_bytes = 1G</div><div>lxc.cgroup.memory.limit_in_bytes = 512M</div><div>lxc.cgroup.cpu.shares = 512</div></div><div><br></div><div>results in:</div><div><br></div><div>
<div>lxc-start: write /sys/fs/cgroup/memory<b>//</b>lxc/cn0/memory.memsw.limit_in_bytes : Invalid argument</div><div>lxc-start: failed to setup the cgroups for 'simple'</div><div>lxc-start: failed to setup the container</div>
<div>lxc-start: invalid sequence number 1. expected 2</div><div>lxc-start: failed to spawn 'simple'</div></div><div><br></div><div>The problem is probably the "//" in the path  /sys/fs/cgroup/memory<b>//. </b></div>
<div>Anyway to fix this ?</div><div><br></div><div>Kind Regards</div><span class="HOEnZb"><font color="#888888"><div>Robin</div><div><br></div><div><br></div></font></span></div><br>------------------------------------------------------------------------------<br>

Try New Relic Now & We'll Send You this Cool Shirt<br>
New Relic is the only SaaS-based application performance monitoring service<br>
that delivers powerful full stack analytics. Optimize and monitor your<br>
browser, app, & servers with just a few lines of code. Try New Relic<br>
and get this awesome Nerd Life shirt! <a href="http://p.sf.net/sfu/newrelic_d2d_apr" target="_blank">http://p.sf.net/sfu/newrelic_d2d_apr</a><br>_______________________________________________<br>
Lxc-users mailing list<br>
<a href="mailto:Lxc-users@lists.sourceforge.net">Lxc-users@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/lxc-users" target="_blank">https://lists.sourceforge.net/lists/listinfo/lxc-users</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br>Elie DELOUMEAU<br>06 42 11 72 93<br><a href="mailto:elie@deloumeau.fr" target="_blank">elie@deloumeau.fr</a><br>