<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    On 17/04/2013 15:12, Olivier Desport wrote:
    <blockquote cite="mid:516E9FA4.3090601@ac-versailles.fr" type="cite">
      <meta content="text/html; charset=ISO-8859-1"
        http-equiv="Content-Type">
      <div class="moz-cite-prefix"><br>
        <div class="moz-signature">
          <meta http-equiv="content-type" content="text/html;
            charset=ISO-8859-1">
          <br>
          <div class="moz-signature"><br>
            <meta http-equiv="content-type" content="text/html;
              charset=ISO-8859-1">
            <title></title>
            <br>
          </div>
        </div>
        Le 17/04/2013 15:04, Nicolas Charles a écrit :<br>
      </div>
      <blockquote cite="mid:516E9DC1.8080406@normation.com" type="cite">
        <meta content="text/html; charset=ISO-8859-1"
          http-equiv="Content-Type">
        On 17/04/2013 14:49, Olivier Desport wrote:
        <blockquote cite="mid:516E9A52.1060602@ac-versailles.fr"
          type="cite">
          <meta content="text/html; charset=ISO-8859-1"
            http-equiv="Content-Type">
          <div class="moz-cite-prefix"><br>
            <div class="moz-signature">
              <meta http-equiv="content-type" content="text/html;
                charset=ISO-8859-1">
              <br>
              <div class="moz-signature"><br>
                <meta http-equiv="content-type" content="text/html;
                  charset=ISO-8859-1">
                <title></title>
                <br>
              </div>
            </div>
            Le 17/04/2013 14:30, Nicolas Charles a écrit :<br>
          </div>
          <blockquote cite="mid:516E95F5.7030206@normation.com"
            type="cite">
            <meta content="text/html; charset=ISO-8859-1"
              http-equiv="Content-Type">
            On 17/04/2013 14:24, Olivier Desport wrote:
            <blockquote cite="mid:516E9476.9080301@ac-versailles.fr"
              type="cite">
              <meta content="text/html; charset=ISO-8859-1"
                http-equiv="Content-Type">
              <br>
              <br>
              The command still runs and the outup hangs on this last
              line. </blockquote>
            <br>
            Do you have free space left on the /var partition ?<br>
          </blockquote>
          <br>
          Yes, several Gb.<br>
          <br>
          <blockquote cite="mid:516E95F5.7030206@normation.com"
            type="cite"> If you run the command<br>
            ls -hl /var/rudder/cfengine-community/state<br>
            <br>
            do you have any surprisingly large file ? Like a cf_lock.db
            over 50 MB ? If so, you can safely remove this file, and
            check if the agent behaves better.<br>
            <br>
            Nicolas<br>
            <br>
          </blockquote>
          You're right. The size of cf_lock.db was 307Mb ! I removed
          this file and restarted rudder-server-root. Now the behaviour
          of cf-agent is correct.<br>
          Do I have to periodically suppress this file or can Rudder
          clean it ?<br>
          <br>
          <br>
        </blockquote>
        We have a mechanism on the clients to clean it when it gets
        corrupted, but I think we may have overlooked the server has
        it's much more uncommon :/<br>
        Did you stop the server ungracefully, or killed -9 cf-agent ?<br>
      </blockquote>
      I've first tried /etc/init.d/rudder agent restart but it doesn't
      work. So I've restarted the server :<br>
      <br>
      /etc/init.d/rudder-server-root restart<br>
    </blockquote>
    Ok, so it might have gotten corrupted by itself. It happens with BDB
    :( We are working on it.<br>
    <br>
    Thank you !<br>
    Nicolas<br>
  </body>
</html>