25.05.2013 04:34, Qiang Huang wrote: > On 2013/5/24 20:49, Serge Hallyn wrote: >> >> Could you tell us exactly which version this is, and exactly how you >> created the container? When I do it in ubuntu saucy (roughly 0.9.0 lxc), >> the cgroup gets correctly removed.
The same issue has biten me so many times that I dpkg-divert'ed lxc-stop to be a shell script that first cals lxc-stop.real, and next rmdir /sys/fs/cgroup/lxc/$container. It happened again a few days ago with 0.9 version (from debian wheezy) on another machine which I just installed and forgot to replace lxc-stop with a script. Places where/when it may happen are numerous, sometimes it happens at start when something goes wrong (say, it weren't able to create network device with cryptic message telling me that veth.123xyz789abc already exist), sometimes it happens at stop, but end result is the same -- no proper cleanup and no way to start it after that. As you may be aware, in the past I tried to clean some things in the code and implement something else, but I mostly gave up as the whole thing is wrong in so many ways it maybe worthless to try to fix it. Things are definitely improved alot since that, so maybe it's worth the effort to take another look... Thanks, /mjt ------------------------------------------------------------------------------ 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_may _______________________________________________ Lxc-devel mailing list Lxc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/lxc-devel