<html>
  <head>
    <meta content="text/html; charset=ISO-8859-15"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Hi Arie,<br>
    <br>
    Glad to hear that you could fix this!<br>
    Otherwise, it can happen sometimes that a cgroup is stuck with
    unkillable processes.<br>
    It can be annoying because you can't remove the cgroup, so if you
    want to start a new one with the same name, you might think you have
    to reboot.<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 :-)<br>
    <br>
    Cheers,<br>
    <br>
    On 12/18/2011 10:24 AM, Arie Skliarouk wrote:
    <blockquote
cite="mid:CAM_hoo=AAtxsnkudmnA=39G21xAL3bUQ+a_=K3za8S5qJyN4Ag@mail.gmail.com"
      type="cite">
      <div dir="ltr">I am sorry, the problem was on my side - did a
        syntax mistake in the lxc.conf.<br>
        Disregard my previous message and continue the good job you are
        doing! :)<br>
        <br clear="all">
        --<br>
        Arie<br>
        <br>
        <br>
        <br>
        <div class="gmail_quote">On Sun, Dec 18, 2011 at 18:19, Arie
          Skliarouk <span dir="ltr"><<a moz-do-not-send="true"
              href="mailto:skliarie@gmail.com">skliarie@gmail.com</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div dir="ltr">What could be worse than a cgroup is not
              deleted by lxc-destroy? Why, inability to create a cgroup
              using lxc-create!<br>
              <br>
              Seriously, the host machine can not start vservers
              anymore. This is after one of the cgroups got stuck in the
              unremovable state.<br>
              <br>
              With these issues it becomes harder and harder for me to
              justify LXC to my boss...<span class="HOEnZb"><font
                  color="#888888"><br>
                  <br>
                  --<br>
                  Arie</font></span>
              <div>
                <div class="h5"><br>
                  <br>
                  <div class="gmail_quote">On Tue, Dec 13, 2011 at
                    00:01, Serge Hallyn <span dir="ltr"><<a
                        moz-do-not-send="true"
                        href="mailto:serge.hallyn@canonical.com"
                        target="_blank">serge.hallyn@canonical.com</a>></span>
                    wrote:<br>
                    <blockquote class="gmail_quote" style="margin:0 0 0
                      .8ex;border-left:1px #ccc solid;padding-left:1ex">
                      <div>Quoting Gordon Henderson (<a
                          moz-do-not-send="true"
                          href="mailto:gordon@drogon.net"
                          target="_blank">gordon@drogon.net</a>):<br>
                        > On Thu, 8 Dec 2011, Arie Skliarouk wrote:<br>
                        ><br>
                        > > When I tried to restart the vserver,
                        it did not came up. Long story short,<br>
                        > > I found that lxc-destroy did not
                        destroy the cgroup of the same name as the<br>
                        > > server. The cgroup remains visible in
                        the /sys/fs/cgroup/cpu/master<br>
                        > > directory. The tasks file is empty
                        though.<br>
                        ><br>
                        > And just now, I've had the same thing
                        happen - a container failed to<br>
                        > start and it left it's body in /cgroup -
                        with empy tasks.<br>
                        <br>
                      </div>
                      The patch I sent out on Friday should help handle
                      that more gracefully -<br>
                      it moves the cgroup out of the way so a new
                      container can start.  You'll<br>
                      need to clean the old one up by hand if you care
                      to, though lxc could<br>
                      easily provide a tool to clean it up (and move and
                      analyze any tasks left<br>
                      running in the cgroup, though I suspect in most
                      cases there are none).<br>
                      <span><font color="#888888"><br>
                          -serge<br>
                        </font></span>
                      <div>
                        <div><br>
------------------------------------------------------------------------------<br>
                          Learn Windows Azure Live!  Tuesday, Dec 13,
                          2011<br>
                          Microsoft is holding a special Learn Windows
                          Azure training event for<br>
                          developers. It will provide a great way to
                          learn Windows Azure and what it<br>
                          provides. You can attend the event by watching
                          it streamed LIVE online.<br>
                          Learn more at <a moz-do-not-send="true"
                            href="http://p.sf.net/sfu/ms-windowsazure"
                            target="_blank">http://p.sf.net/sfu/ms-windowsazure</a><br>
_______________________________________________<br>
                          Lxc-users mailing list<br>
                          <a moz-do-not-send="true"
                            href="mailto:Lxc-users@lists.sourceforge.net"
                            target="_blank">Lxc-users@lists.sourceforge.net</a><br>
                          <a moz-do-not-send="true"
                            href="https://lists.sourceforge.net/lists/listinfo/lxc-users"
                            target="_blank">https://lists.sourceforge.net/lists/listinfo/lxc-users</a><br>
                        </div>
                      </div>
                    </blockquote>
                  </div>
                  <br>
                </div>
              </div>
            </div>
          </blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">------------------------------------------------------------------------------
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 <a class="moz-txt-link-freetext" href="http://p.sf.net/sfu/ms-windowsazure">http://p.sf.net/sfu/ms-windowsazure</a></pre>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Lxc-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Lxc-users@lists.sourceforge.net">Lxc-users@lists.sourceforge.net</a>
<a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/lxc-users">https://lists.sourceforge.net/lists/listinfo/lxc-users</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>