<div style="line-height:1.7;color:#000000;font-size:14px;font-family:arial">hi, Emmanuel:<div>&nbsp; &nbsp; &nbsp;If you are using glusterfs 3.3, &nbsp;this patch&nbsp;<a href="http://review.gluster.com/#patch,sidebyside,362,16,rpc/rpc-transport/socket/src/socket.c">http://review.gluster.com/#patch,sidebyside,362,16,rpc/rpc-transport/socket/src/socket.c</a></div><div>&nbsp;and the following code in the patch will be helpful:</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;if (priv-&gt;own_thread) {<div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; /*</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;* Without this, reconnect (= disconnect + connect)</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;* won't work except by accident.</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;*/</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; close(priv-&gt;sock);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; priv-&gt;sock = -1;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ++(priv-&gt;socket_gen);</div><div>&nbsp; &nbsp; &nbsp; &nbsp; }</div><div><br></div><div>&nbsp; &nbsp; Take a try, good luck.</div><div><br></div><div>Best Regards.</div><div>Jules Wang.</div><div></div><div id="divNeteaseMailCard"></div><pre><span style="white-space: normal;"><br></span>At&nbsp;2012-09-25&nbsp;12:35:16,"Emmanuel&nbsp;Dreyfus"&nbsp;&lt;manu@netbsd.org&gt;&nbsp;wrote:
&gt;Emmanuel&nbsp;Dreyfus&nbsp;&lt;manu@netbsd.org&gt;&nbsp;wrote:
&gt;
&gt;&gt;&nbsp;That&nbsp;bug&nbsp;is&nbsp;not&nbsp;that&nbsp;isolated.&nbsp;I&nbsp;reproduced&nbsp;it&nbsp;after&nbsp;a&nbsp;few&nbsp;days&nbsp;of
&gt;&gt;&nbsp;building&nbsp;like&nbsp;explained&nbsp;below.&nbsp;
&gt;
&gt;And&nbsp;I&nbsp;got&nbsp;it&nbsp;again,&nbsp;when&nbsp;accessing&nbsp;the&nbsp;same&nbsp;file.&nbsp;It&nbsp;takes&nbsp;hours,&nbsp;but&nbsp;it
&gt;seems&nbsp;I&nbsp;can&nbsp;reproduce&nbsp;it.
&gt;
&gt;--&nbsp;
&gt;Emmanuel&nbsp;Dreyfus
&gt;http://hcpnet.free.fr/pubz
&gt;manu@netbsd.org
&gt;
&gt;_______________________________________________
&gt;Gluster-devel&nbsp;mailing&nbsp;list
&gt;Gluster-devel@nongnu.org
&gt;https://lists.nongnu.org/mailman/listinfo/gluster-devel
</pre></div></div><br><br><span title="neteasefooter"><span id="netease_mail_footer"></span></span>