Quoting 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

Switch the first two lines.

You need to set the memory limit before the memory+swap limit.

------------------------------------------------------------------------------
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

Reply via email to