That was to clear page-cache on the client side, usually some of the issues related to cache-coherency with stat-prefetch, quick-read and io-cache get resolved temporarily. <div><br></div><div>In general this is not a good practice since the application has to invalidate it caches proactively and keep track of them as necessary. </div>
<div><br></div><div>James, i need to know the reason behind doing it.  Was it just a hunch or is there any specific errors you are seeing after the upgrade? <br><br><div class="gmail_quote">On Wed, Jun 22, 2011 at 12:05 PM, Burnash, James <span dir="ltr">&lt;<a href="mailto:jburnash@knight.com">jburnash@knight.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div lang="EN-US" link="blue" vlink="purple"><div><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">I’ll add it </span><span style="font-size:11.0pt;font-family:Wingdings;color:#1F497D">J</span><span style="font-size:11.0pt;color:#1F497D"><u></u><u></u></span></p>
<div class="im"><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"><u></u> <u></u></span></p><div><p class="MsoNormal"><span style="font-size:9.0pt;color:#003D79">James Burnash<u></u><u></u></span></p><p class="MsoNormal">
<span style="font-size:9.0pt;color:#003D79">Unix Engineer<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:8.0pt;color:#003D79">Knight Capital Group<u></u><u></u></span></p></div><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"><u></u> <u></u></span></p>
</div><div><div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in"><p class="MsoNormal"><b><span style="font-size:10.0pt">From:</span></b><span style="font-size:10.0pt"> John Mark Walker [mailto:<a href="mailto:jwalker@gluster.com" target="_blank">jwalker@gluster.com</a>] <br>
<b>Sent:</b> Wednesday, June 22, 2011 3:04 PM<br><b>To:</b> Harshavardhana; Burnash, James</span></p><div class="im"><br><b>Cc:</b> <a href="mailto:gluster-users@gluster.org" target="_blank">gluster-users@gluster.org</a><br>
</div><b>Subject:</b> RE: [Gluster-users] GlusterFS 3.1.5 now available<u></u><u></u><p></p></div></div><div><div></div><div class="h5"><p class="MsoNormal"><u></u> <u></u></p><div><p class="MsoNormal" style="margin-bottom:12.0pt">
<span style="font-size:10.0pt;color:black">This looks like the type of Q &amp;A which should go on <a href="http://community.gluster.org/" target="_blank">http://community.gluster.org/</a><br><br>:)<br><br>I&#39;ll add it if nobody else does.<br>
<br>-JM<u></u><u></u></span></p><div><div class="MsoNormal" align="center" style="text-align:center"><span style="color:black"><hr size="2" width="100%" align="center"></span></div><div><p class="MsoNormal" style="margin-bottom:12.0pt">
<b><span style="font-size:10.0pt;color:black">From:</span></b><span style="font-size:10.0pt;color:black"> <a href="mailto:gluster-users-bounces@gluster.org" target="_blank">gluster-users-bounces@gluster.org</a> [<a href="mailto:gluster-users-bounces@gluster.org" target="_blank">gluster-users-bounces@gluster.org</a>] on behalf of Harshavardhana [<a href="mailto:harsha@gluster.com" target="_blank">harsha@gluster.com</a>]<br>
<b>Sent:</b> Wednesday, June 22, 2011 11:56 AM<br><b>To:</b> Burnash, James<br><b>Cc:</b> <a href="mailto:gluster-users@gluster.org" target="_blank">gluster-users@gluster.org</a><br><b>Subject:</b> Re: [Gluster-users] GlusterFS 3.1.5 now available</span><span style="color:black"><u></u><u></u></span></p>
</div><div><p class="MsoNormal"><span style="color:black"><u></u> <u></u></span></p><div><p class="MsoNormal"><span style="color:black">On Wed, Jun 22, 2011 at 11:53 AM, Burnash, James &lt;<a href="mailto:jburnash@knight.com" target="_blank">jburnash@knight.com</a>&gt; wrote:<u></u><u></u></span></p>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="color:black">Does anyone know how we can get the native GlusterFS clients to clear their cached data short of restarting them (or dismounting and remounting their gluster storage?<br>
<br>Clients are running 3.1.3, servers are now running 3.1.5.<u></u><u></u></span></p><div><p class="MsoNormal"><span style="color:black"> <u></u><u></u></span></p></div><div><p class="MsoNormal"><span style="color:black">Client side &#39;caches&#39; are in page cache to invalidate those all you have to do is <u></u><u></u></span></p>
</div><div><p class="MsoNormal"><span style="color:black"><u></u> <u></u></span></p></div><div><p class="MsoNormal"><span style="color:black">echo &#39;3&#39; &gt; /proc/sys/vm/drop_caches <u></u><u></u></span></p></div><div>
<p class="MsoNormal"><span style="color:black"><u></u> <u></u></span></p></div><div><p class="MsoNormal"><span style="color:black">Regards <u></u><u></u></span></p></div></div><p class="MsoNormal"><span style="color:black">-- <u></u><u></u></span></p>
<pre><i><span style="color:black">Harsha<u></u><u></u></span></i></pre><pre><i><span style="color:black">Gluster Inc<u></u><u></u></span></i></pre><p class="MsoNormal"><span style="color:black"><u></u> <u></u></span></p></div>
</div></div></div></div></div><br><br>
<p><font color="navy"></font></p><div class="im"><font color="navy"><font size="1">DISCLAIMER:<br>This e-mail, and any attachments 
thereto, is intended only for use by the addressee(s)named herein and<br>may 
contain legally privileged and/or confidential information. If you are not the 
intended recipient of this<br>e-mail, you are hereby notified that any 
dissemination, distribution or copying of this e-mail and any 
attachments</font><font color="navy"><br></font></font></div><font color="navy"><font size="1"><div class="im">thereto, is strictly 
prohibited. If you have received this in error, please immediately notify me and 
permanently<br></div>delete the original and any printout thereof.</font></font><font size="1"> </font><font color="navy" size="1">E-mail transmission cannot be guaranteed 
to be secure or error-free.<div class="im"><br>The sender therefore does not accept liability 
for any errors or omissions in the contents of this message which<br>arise as a 
result of e-mail transmission.<br>NOTICE REGARDING PRIVACY AND 
CONFIDENTIALITY<br>Knight Capital Group may, at its discretion, monitor and 
review the content of all e-mail communications.</div></font><p></p>
<p><a href="http://www.knight.com/" target="_blank"><font color="navy" size="1">http://www.knight.com</font></a><br></p>         
</div></blockquote></div><br><br clear="all"><br>-- <br><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><pre cols="72"><span style="white-space:normal"><i><pre cols="72" style="text-align:left"><font face="&#39;courier new&#39;, monospace">Harsha</font></pre>
<pre cols="72" style="text-align:left"><font face="&#39;courier new&#39;, monospace">Gluster Inc</font></pre></i></span></pre></blockquote><br>
</div>