<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        color:black;
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
code
        {mso-style-priority:99;
        font-family:"Courier New";}
pre
        {mso-style-priority:99;
        mso-style-link:"Préformaté HTML Car";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Texte de bulles Car";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";
        color:black;
        mso-fareast-language:EN-US;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin-top:0cm;
        margin-right:0cm;
        margin-bottom:0cm;
        margin-left:36.0pt;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        color:black;
        mso-fareast-language:EN-US;}
span.PrformatHTMLCar
        {mso-style-name:"Préformaté HTML Car";
        mso-style-priority:99;
        mso-style-link:"Préformaté HTML";
        font-family:Consolas;
        color:black;}
span.TextedebullesCar
        {mso-style-name:"Texte de bulles Car";
        mso-style-priority:99;
        mso-style-link:"Texte de bulles";
        font-family:"Tahoma","sans-serif";
        color:black;
        mso-fareast-language:EN-US;}
span.Preacute2
        {mso-style-name:"Pr&eacute2\,format&eacute2\,HTML Car2";
        mso-style-priority:99;
        mso-style-link:"Pr&eacute\,format&eacute\,HTML";
        font-family:Consolas;
        color:black;
        mso-fareast-language:EN-US;}
p.Preacute, li.Preacute, div.Preacute
        {mso-style-name:"Pr&eacute\,format&eacute\,HTML";
        mso-style-link:"Pr&eacute1\,format&eacute1\,HTML Car1";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        color:black;
        mso-fareast-language:EN-US;}
span.Preacute1
        {mso-style-name:"Pr&eacute1\,format&eacute1\,HTML Car1";
        mso-style-priority:99;
        mso-style-link:"Pr&eacute\,format&eacute\,HTML";
        font-family:Consolas;
        color:black;
        mso-fareast-language:EN-US;}
span.EmailStyle26
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.sig
        {mso-style-name:sig;}
span.sigsmall
        {mso-style-name:sigsmall;}
span.EmailStyle29
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.apple-converted-space
        {mso-style-name:apple-converted-space;}
span.EmailStyle31
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle32
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle33
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle34
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle35
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle36
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle37
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
        {page:WordSection1;}
/* List Definitions */
@list l0
        {mso-list-id:2083680111;
        mso-list-type:hybrid;
        mso-list-template-ids:679879086 67895311 67895321 67895323 67895311 67895321 67895323 67895311 67895321 67895323;}
@list l0:level1
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level2
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level3
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l0:level4
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level5
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level6
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
@list l0:level7
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level8
        {mso-level-number-format:alpha-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-18.0pt;}
@list l0:level9
        {mso-level-number-format:roman-lower;
        mso-level-tab-stop:none;
        mso-level-number-position:right;
        text-indent:-9.0pt;}
ol
        {margin-bottom:0cm;}
ul
        {margin-bottom:0cm;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body bgcolor="white" lang="FR" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><span style="color:#1F497D">Hello,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">For information, now i have this message : UNTRUSTED: State directory /var/rudder/cfengine-community (mode 770) was not private!<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">BR<o:p></o:p></span></p>
<div>
<p class="MsoNormal"><span style="color:#1F497D;mso-fareast-language:FR"><o:p> </o:p></span></p>
</div>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext;mso-fareast-language:FR">De :</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext;mso-fareast-language:FR"> rudder-users-bounces@lists.rudder-project.org
 [mailto:rudder-users-bounces@lists.rudder-project.org] <b>De la part de</b> Prestasit01<br>
<b>Envoyé :</b> jeudi 3 octobre 2013 09:56<br>
<b>À :</b> 'Nicolas Charles'<br>
<b>Cc :</b> 'rudder-users@lists.rudder-project.org'<br>
<b>Objet :</b> Re: [rudder-users] IO on vmware<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">Hi, thanks for your reply.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">In addition : A simple update from 2.4.3 to 2.4.8 don’t change anything, uninstall the 2.4.3 and install the latest version was the solution.</span><o:p></o:p></p>
<div>
<p class="MsoNormal"><span style="color:#1F497D;mso-fareast-language:FR"> </span><o:p></o:p></p>
</div>
<p class="MsoNormal"><span style="color:#1F497D">BR</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span><o:p></o:p></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext;mso-fareast-language:FR">De :</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext;mso-fareast-language:FR"> Nicolas
 Charles [<a href="mailto:nicolas.charles@normation.com">mailto:nicolas.charles@normation.com</a>]
<br>
<b>Envoyé :</b> mercredi 2 octobre 2013 17:57<br>
<b>À :</b> Prestasit01<br>
<b>Cc :</b> 'Matthieu CERDA'; 'rudder-users@lists.rudder-project.org'<br>
<b>Objet :</b> Re: [rudder-users] IO on vmware</span><o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal">Hello,<br>
<br>
I'm glad that upgrading helped lower the I/O !<br>
I didn't realize you were still using 2.4; moving to 2.6 should lower the I/O again by changing the Database backend from BDB to TokyoCabinet.<br>
<br>
As for the warning message, it's because you mounted the /var/rudder/cfengine-community/state with mode 775 rather than 770
<br>
There's a typo in the blogpost, the entry to put in the /etc/fstab should be<o:p></o:p></p>
<pre># Tmpfs for the CFEngine state backend storage directory<o:p></o:p></pre>
<pre>tmpfs          /var/cfengine/state    tmpfs        size=128M,nr_inodes=2k,mode=0770,noexec,nosuid,noatime,nodiratime    0       0<o:p></o:p></pre>
<p class="MsoNormal"><br>
(770 rather than 775)<br>
<br>
It should remove your warning message<br>
<br>
Nicolas<br>
<br>
<br>
On 02/10/2013 17:48, Prestasit01 wrote: <o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">Hello,</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">Just for information rudder-agent has been updated from 2.4.3 to 2.4.8.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">I don’t know why but now I/O seems ok since i did that :</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoListParagraph" style="text-indent:-18.0pt;mso-list:l0 level1 lfo2"><![if !supportLists]><span style="mso-list:Ignore">1.<span style="font:7.0pt "Times New Roman"">      
</span></span><![endif]><span style="color:#1F497D">delete one node which had big I/O (on the rudder server)</span><o:p></o:p></p>
<p class="MsoListParagraph" style="text-indent:-18.0pt;mso-list:l0 level1 lfo2"><![if !supportLists]><span style="mso-list:Ignore">2.<span style="font:7.0pt "Times New Roman"">      
</span></span><![endif]><span style="color:#1F497D">remove the rudder-agent from my node</span><o:p></o:p></p>
<p class="MsoListParagraph" style="text-indent:-18.0pt;mso-list:l0 level1 lfo2"><![if !supportLists]><span style="mso-list:Ignore">3.<span style="font:7.0pt "Times New Roman"">      
</span></span><![endif]><span style="color:#1F497D">delete /var/rudder & /opt/rudder</span><o:p></o:p></p>
<p class="MsoListParagraph" style="text-indent:-18.0pt;mso-list:l0 level1 lfo2"><![if !supportLists]><span style="mso-list:Ignore">4.<span style="font:7.0pt "Times New Roman"">      
</span></span><![endif]><span style="color:#1F497D">install the rudder-agent (2.4.8)</span><o:p></o:p></p>
<p class="MsoListParagraph" style="text-indent:-18.0pt;mso-list:l0 level1 lfo2"><![if !supportLists]><span style="mso-list:Ignore">5.<span style="font:7.0pt "Times New Roman"">      
</span></span><![endif]><span style="color:#1F497D">accept the node on the rudder server and re-affect the node to it last group.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">I/O has been divided by 10.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">I also have this message since i’m using RAM Disk :
</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">UNTRUSTED: State directory /var/rudder/cfengine-community (mode 775) was not private!</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">Is that normal ?</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">BR</span><o:p></o:p></p>
<div>
<p class="MsoNormal"><span style="color:#1F497D;mso-fareast-language:FR"> </span><o:p></o:p></p>
</div>
<p class="MsoNormal"><span style="color:#1F497D"> </span><o:p></o:p></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext;mso-fareast-language:FR">De :</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext;mso-fareast-language:FR"> Prestasit01
<br>
<b>Envoyé :</b> mardi 1 octobre 2013 14:41<br>
<b>À :</b> 'Matthieu CERDA'<br>
<b>Cc :</b> 'Nicolas Charles'; <a href="mailto:rudder-users@lists.rudder-project.org">
rudder-users@lists.rudder-project.org</a><br>
<b>Objet :</b> RE: [rudder-users] IO on vmware</span><o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"> <o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">I don’t have theses informations,  here is the 3 first results of the iodump command :</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="color:#1F497D">while true; do sleep 1; dmesg -c; done | perl iodump                                          
</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">TASK                   PID      TOTAL       READ      WRITE      DIRTY DEVICES</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">cf-agent             30398      27817           0       27817          0 dm-0</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">cf-agent             29655      27817           0       27817          0 dm-0</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">cf-agent             29316       9643            0        9643             0 dm-0</span><o:p></o:p></p>
<div>
<p class="MsoNormal"><span style="color:#1F497D;mso-fareast-language:FR"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D;mso-fareast-language:FR">BR</span><o:p></o:p></p>
</div>
<p class="MsoNormal"><span style="color:#1F497D"> </span><o:p></o:p></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext;mso-fareast-language:FR">De :</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext;mso-fareast-language:FR"> Matthieu
 CERDA [<a href="mailto:matthieu.cerda@normation.com">mailto:matthieu.cerda@normation.com</a>]
<br>
<b>Envoyé :</b> mardi 1 octobre 2013 12:06<br>
<b>À :</b> Prestasit01<br>
<b>Cc :</b> 'Nicolas Charles'; <a href="mailto:rudder-users@lists.rudder-project.org">
rudder-users@lists.rudder-project.org</a><br>
<b>Objet :</b> Re: [rudder-users] IO on vmware</span><o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"> <o:p></o:p></p>
<div>
<p class="MsoNormal">Howdy,<br>
<br>
Can you tell us which specific file/place/function is eating so much I/O ressources ?<br>
<br>
Thanks in advance.<br>
<br>
MC<br>
<br>
Le 01/10/2013 11:30, Prestasit01 a écrit :<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal"><span style="color:#1F497D">Hi,</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">It seems to work on some nodes. But, not for all.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">On one impacted server, I used  iodump (<a href="http://www.geeek.org/post/linux-comment-trouver-les-processus-qui-consomment-de-l-io-992.html">http://www.geeek.org/post/linux-comment-trouver-les-processus-qui-consomment-de-l-io-992.html</a>)</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">And it reveals that cf-agent is the biggest i/o eater on the server. (Ram disk mounted)</span><o:p></o:p></p>
<div>
<p class="MsoNormal"><span style="color:#1F497D;mso-fareast-language:FR"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D;mso-fareast-language:FR">I hope there is one other solution.</span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D;mso-fareast-language:FR"> </span><o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D;mso-fareast-language:FR">BR</span><o:p></o:p></p>
</div>
</blockquote>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";mso-fareast-language:FR">-------------------------------------------------------------------------<br>
Les informations ou pieces jointes contenues dans ce message sont confidentielles. Seul le destinataire expressement vise peut en prendre connaissance. Toute autre personne qui en divulguera, diffusera ou prendra des copies sera passible de poursuites. La societe
 Ouest-France decline en outre, toute responsabilite de quelque nature que ce soit au titre de ce message s'il a ete altere, deforme ou falsifie.
</span><o:p></o:p></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";mso-fareast-language:FR"><br>
<br>
<br>
<br>
</span><o:p></o:p></p>
<pre>-- <o:p></o:p></pre>
<pre>Nicolas CHARLES<o:p></o:p></pre>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman","serif";color:windowtext;mso-fareast-language:FR">-------------------------------------------------------------------------<br>
Les informations ou pieces jointes contenues dans ce message sont confidentielles. Seul le destinataire expressement vise peut en prendre connaissance. Toute autre personne qui en divulguera, diffusera ou prendra des copies sera passible de poursuites. La societe
 Ouest-France decline en outre, toute responsabilite de quelque nature que ce soit au titre de ce message s'il a ete altere, deforme ou falsifie.
<o:p></o:p></span></p>
</div>
-------------------------------------------------------------------------<br>
Les informations ou pieces jointes contenues dans ce message sont
confidentielles. Seul le destinataire expressement vise peut en prendre
connaissance. Toute autre personne qui en divulguera, diffusera ou prendra des copies sera passible de poursuites. La societe Ouest-France decline en outre, toute responsabilite de quelque nature que ce soit au titre de ce message s'il a ete altere, deforme ou falsifie.
</body>
</html>