On 12/18/2011 11:56 AM, C Anthony Risinger wrote:

On Dec 18, 2011 1:09 PM, "Jérôme Petazzoni" <jerome.petazz...@dotcloud.com <mailto:jerome.petazz...@dotcloud.com>> wrote:
>
> If that happens, just try to terminate the other processes running in the cgroup, rename it ("mv /cgroup/mylittlecontainer /cgroup/broken") and restart it.
> This saved me a few reboots already :-)

You should be able to remove an empty cgroup with `rmdir`.


Sorry, I forgot to mention:
- if you can't remove the cgroup because it's not empty,
- if the process remaining in the cgroup cannot be killed (for instance, because it's in "uninterruptible sleep" state), - if you can't move the said process in a different cgroup (with e.g. "echo $PID > /cgroup/othercgroup/tasks"),
- ... then you can still rename the old cgroup.


------------------------------------------------------------------------------
Learn Windows Azure Live!  Tuesday, Dec 13, 2011
Microsoft is holding a special Learn Windows Azure training event for 
developers. It will provide a great way to learn Windows Azure and what it 
provides. You can attend the event by watching it streamed LIVE online.  
Learn more at http://p.sf.net/sfu/ms-windowsazure
_______________________________________________
Lxc-users mailing list
Lxc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-users

Reply via email to