<html>
<head>
<meta content="text/html; charset=ISO-8859-15"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
On 12/18/2011 11:56 AM, C Anthony Risinger wrote:
<blockquote
cite="mid:CAGAVQTGq1i0Ko5LX9FUcnPigz27yQ7NBicY6isiStr=hkVc9=Q@mail.gmail.com"
type="cite">
<p>On Dec 18, 2011 1:09 PM, "Jérôme Petazzoni" <<a
moz-do-not-send="true"
href="mailto:jerome.petazzoni@dotcloud.com">jerome.petazzoni@dotcloud.com</a>>
wrote:<br>
><br>
> If that happens, just try to terminate the other processes
running in the cgroup, rename it ("mv /cgroup/mylittlecontainer
/cgroup/broken") and restart it.<br>
> This saved me a few reboots already :-)</p>
<p>You should be able to remove an empty cgroup with `rmdir`.</p>
</blockquote>
<br>
Sorry, I forgot to mention:<br>
- if you can't remove the cgroup because it's not empty,<br>
- if the process remaining in the cgroup cannot be killed (for
instance, because it's in "uninterruptible sleep" state),<br>
- if you can't move the said process in a different cgroup (with
e.g. "echo $PID > /cgroup/othercgroup/tasks"),<br>
- ... then you can still rename the old cgroup.<br>
<br>
<br>
</body>
</html>