<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    On 17/04/2013 12:33, Olivier Desport wrote: <br>
    <blockquote cite="mid:516E7A6F.8050004@ac-versailles.fr" type="cite">
      <div class="moz-cite-prefix">
        <div class="moz-signature">
          <div class="moz-signature">
            <meta http-equiv="content-type" content="text/html;
              charset=ISO-8859-1">
            <title></title>
            <br>
          </div>
        </div>
        Le 17/04/2013 12:28, Matthieu CERDA a écrit :<br>
      </div>
      <blockquote cite="mid:516E795E.9090807@normation.com" type="cite">
        <meta content="text/html; charset=ISO-8859-1"
          http-equiv="Content-Type">
        <div class="moz-cite-prefix">Le 17/04/2013 12:22, Olivier
          Desport a écrit :<br>
        </div>
        <blockquote cite="mid:516E77CF.2020208@ac-versailles.fr"
          type="cite">
          <meta http-equiv="content-type" content="text/html;
            charset=ISO-8859-1">
          Hello,<br>
          <br>
          Since I've migrated to the 2.5.1release-squeeze0 version the
          cpu load of cf-agent on the Rudder server is very high :<br>
          <br>
            PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+ 
          COMMAND                                                                                          



          <br>
           8128 root      20   0 35720 4780 2864 R   50  0.0   8:12.29
          cf-agent                                                                                         



          <br>
           9912 root      20   0 35724 4780 2864 R   50  0.0   2:19.35
          cf-agent                                                                                         



          <br>
           7143 root      20   0 49572  12m 2924 R   25  0.1  13:18.39
          cf-agent                                                                                         



          <br>
           7304 root      20   0 35720 4776 2864 R   25  0.0   7:29.65
          cf-agent                                                                                         



          <br>
          10749 root      20   0 35720 4776 2864 R   25  0.0   0:03.61
          cf-agent                                                                                         



          <br>
           9015 root      20   0 35720 4776 2864 R   25  0.0   4:23.80
          cf-agent<br>
          <br>
          Therefore, the server is very slow. Can you help me please ?<br>
          <br>
          <br>
          <div class="moz-signature">-- <br>
            <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>
              <table width="370" border="0" cellpadding="2" height="146"
                cellspacing="2">
                <tbody>
                  <tr>
                    <td valign="top" width="100"><img alt=""
                        src="cid:part1.04060607.03040704@normation.com"
                        width="95" height="98"></td>
                    <td valign="middle"><small><b><font face="Arial">Olivier


                            DESPORT<br>
                          </font></b><font face="Arial">Infrastructures
                          Tice<br>
                          DSI<br>
                          <br>
                          Tél : 01 30 83 52 92<br>
                        </font></small><font face="Arial"><small>Tcp. 01
                          30 83 48 46</small><big><big><big><big><big><span
style="font-size:8.0pt;font-family:"Arial
Narrow","sans-serif";mso-fareast-language:FR"></span></big></big></big></big></big></font></td>
                  </tr>
                  <tr>
                    <td colspan="2" rowspan="1" bgcolor="#cccccc"
                      valign="top"><small><small><font face="Arial">Rectorat


                            de Versailles • 3 boulevard de Lesseps •
                            78017 Versailles cedex •</font></small><br>
                        <a
                          href="cid:part2.00090308.02000409@ac-versailles.fr"
                          moz-do-not-send="true"><small><font
                              face="Arial"> http://www.ac-versailles.fr</font></small></a></small><br>
                    </td>
                  </tr>
                </tbody>
              </table>
              <br>
            </div>
          </div>
          <br>
          <fieldset class="mimeAttachmentHeader"></fieldset>
          <br>
          <pre wrap="">_______________________________________________
rudder-users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:rudder-users@lists.rudder-project.org">rudder-users@lists.rudder-project.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.rudder-project.org/mailman/listinfo/rudder-users">http://www.rudder-project.org/mailman/listinfo/rudder-users</a>
</pre>
        </blockquote>
        <br>
        Hello Olivier,<br>
        <br>
        Can you please try a "ps -faux" to have a complete process tree
        of every cf-agent ? It will help us to debug this problem.<br>
        <br>
        Thanks in advance,<br>
        Regards,<br>
        <div class="moz-signature">-- <br>
          <meta content="text/html; charset=ISO-8859-1"
            http-equiv="Content-Type">
          <style type="text/css">
<!--
   a.redlink:link { color: #962322; }
   a.redlink:visited { color: #962322; }
  .sig { font-family: sans-serif; font-size: small; }
  .sigsmall { font-family: sans-serif; font-size: x-small; }
-->
</style>
          <table width="380" border="0" cellpadding="0" cellspacing="2">
            <tbody>
              <tr>
                <td colspan="2">
                  <hr></td>
              </tr>
              <tr>
                <td colspan="2"><b><img alt=""
                      src="cid:part5.08080406.08030204@normation.com"
                      align="left" width="50" height="50" hspace="10"> <span
                      class="sig">Matthieu CERDA</span></b><br>
                  <span class="sig"><i>Administrateur - Systèmes et
                      Réseaux</i></span><br>
                  <span class="sig"><a moz-do-not-send="true"
                      class="redlink" href="http://www.normation.com">Normation</a></span>
                </td>
              </tr>
              <tr>
                <td colspan="2">
                  <hr></td>
              </tr>
              <tr>
                <td colspan="2"><span class="sigsmall"><b>87 rue de
                      Turbigo, 75003 Paris, France</b></span></td>
              </tr>
              <tr>
                <td><span class="sigsmall">Telephone:</span></td>
                <td><span class="sigsmall">+33 (0)1 84 16 06 01</span></td>
              </tr>
              <!--<tr>
                        <td><span class="sigsmall">Mobile:</span></td>
                        <td><span class="sigsmall">+33 (0)6 XX XX XX XX</span></td>
          </tr>--> <tr>
                <td colspan="2">
                  <hr></td>
              </tr>
            </tbody>
          </table>
        </div>
      </blockquote>
      Here is `ps -faux` output :<br>
      <br>
      root     25908  0.4  0.0 190276  6644 ?        Ssl  Apr15  12:25
      /var/rudder/cfengine-community/bin/cf-serverd<br>
      root     25939  0.0  0.0 147280  4292 ?        Ssl  Apr15   0:07
      /var/rudder/cfengine-community/bin/cf-execd<br>
      root     12641  0.0  0.0   3956   584 ?        S    12:26   0:00 
      \_ sh -c "/var/rudder/cfengine-community/bin/cf-agent" -f
      failsafe.cf &&
      "/var/rudder/cfengine-community/bin/cf-agent" -Dfrom_cfexecd<br>
      root     12890 96.5  0.0  49576 12600 ?        Rs   12:27   4:31 
      |   \_ /var/rudder/cfengine-community/bin/cf-agent -Dfrom_cfexecd<br>
      root     13726  0.0  0.0   3956   580 ?        S    12:30   0:00 
      \_ sh -c "/var/rudder/cfengine-community/bin/cf-agent" -f
      failsafe.cf &&
      "/var/rudder/cfengine-community/bin/cf-agent" -Dfrom_cfexecd<br>
      root     13727 95.6  0.0  35724  4780 ?        Rs   12:30  
      1:02      \_ /var/rudder/cfengine-community/bin/cf-agent -f
      failsafe.cf<br>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
    </blockquote>
    <br>
    Hi Olivier,<br>
    <br>
    That's unfortunate, as it does't give much details on what could go
    slow.<br>
    Could you send us the output of the
    /var/rudder/cfengine-community/bin/cf-agent -v  ? (you may want to
    edit this output, as it may contain sensitive information like
    hostname, ip, text contents, etc)<br>
    <br>
    Thanks !<br>
    Nicolas<br>
  </body>
</html>