Forwarding to list<br><br><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">Basavanagowda Kanur</b> <span dir="ltr">&lt;<a href="mailto:gowda@gluster.com">gowda@gluster.com</a>&gt;</span><br>
Date: Thu, Feb 19, 2009 at 11:56 PM<br>Subject: Re: [Gluster-devel] gluster working, but error appearing every two  seconds in logs - NEW INFO<br>To: <a href="mailto:jordi@cdmon.com">jordi@cdmon.com</a><br>Cc: Anand Avati &lt;<a href="mailto:avati@zresearch.com">avati@zresearch.com</a>&gt;, Gluster List &lt;<a href="mailto:gluster-devel@nongnu.org">gluster-devel@nongnu.org</a>&gt;<br>
<br><br><div class="gmail_quote"><div>Jordi,<br>Please find replies inline. <br></div><div class="Ih2E3d"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
Hi,<br>
<br>
since the last time we were in contact I&#39;ve been trying to track down where the problem is. I&#39;ve been monitoring almost every possible thing related to network traffic, and... eventually.... i found out what the problem is by chance!!<br>


</blockquote></div><div>Did you try &#39;telnet &lt;server&gt; &lt;port&gt;&#39; at the time when you were getting &#39;Connection refused&#39; errors?<br></div><div class="Ih2E3d"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

<br>
It turns out that when in a client-server mounting gluster i run &quot;df -h&quot;, i get this:<br>
<br>
***********<br>
2009-02-19 17:15:43 E [tcp-client.c:190:tcp_connect] espai1: non-blocking connect() returned: 111 (Connection refused)<br>
2009-02-19 17:15:43 W [client-protocol.c:332:client_protocol_xfer] espai1: not connected at the moment to submit frame type(1) op(15)<br>
2009-02-19 17:15:43 E [client-protocol.c:3891:client_statfs_cbk] espai1: no proper reply from server, returning ENOTCONN<br>
2009-02-19 17:15:43 E [tcp-client.c:190:tcp_connect] espai5: non-blocking connect() returned: 111 (Connection refused)<br>
2009-02-19 17:15:43 W [client-protocol.c:332:client_protocol_xfer] espai5: not connected at the moment to submit frame type(1) op(15)<br>
2009-02-19 17:15:43 E [client-protocol.c:3891:client_statfs_cbk] espai5: no proper reply from server, returning ENOTCONN<br>
2009-02-19 17:15:43 E [tcp-client.c:190:tcp_connect] espai2: non-blocking connect() returned: 111 (Connection refused)<br>
2009-02-19 17:15:43 W [client-protocol.c:332:client_protocol_xfer] espai2: not connected at the moment to submit frame type(1) op(15)<br>
2009-02-19 17:15:43 E [client-protocol.c:3891:client_statfs_cbk] espai2: no proper reply from server, returning ENOTCONN<br>
2009-02-19 17:15:43 E [tcp-client.c:190:tcp_connect] espai6: non-blocking connect() returned: 111 (Connection refused)<br>
2009-02-19 17:15:43 W [client-protocol.c:332:client_protocol_xfer] espai6: not connected at the moment to submit frame type(1) op(15)<br>
2009-02-19 17:15:43 E [client-protocol.c:3891:client_statfs_cbk] espai6: no proper reply from server, returning ENOTCONN<br>
<br>
************<br>
<br>
so... the reason why it is appearing so often is that i&#39;ve got munin monitoring this gluster environment, and it performs a &quot;df&quot; command to check the disk space of all the servers, including, of course, the gluster mount point. When this happens... the error log shown above these lines is reported and eventually.... the mount point in that server fails. No data is lost, but i have to remount glusterfs as it becomes stale and data is not accessible.<br>


<br>
is this a normal behaviour?</blockquote></div><div>No. This is not normal behaviour. &#39;Connection refused&#39; error comes when either the server is not running or there is a packet filtering between server and client.<br>
&nbsp;</div><div class="Ih2E3d">
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
<br>
i could stop munin from running &quot;df&quot; every 5 minutes... but still... is there any problem in my setup or is this what gluster is supposed to do?</blockquote></div><div>The &#39;Connection refused&#39; problem is not caused by any application accessing the mount-point. &#39;Connection refused&#39; can come only if server is dead or packet is being filtered out. <br>

</div><div class="Ih2E3d"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
<br>
Thanks.<br>
<br>
<br>
_______________________________________________<br>
Gluster-devel mailing list<br>
<a href="mailto:Gluster-devel@nongnu.org" target="_blank">Gluster-devel@nongnu.org</a><br>
<a href="http://lists.nongnu.org/mailman/listinfo/gluster-devel" target="_blank">http://lists.nongnu.org/mailman/listinfo/gluster-devel</a><br>
</blockquote></div></div><font color="#888888"><br><br clear="all"><br>-- <br>gowda<br>
</font></div><br><br clear="all"><br>-- <br>hard work often pays off after time, but laziness always pays off now<br>