<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; ">Wow, thanks. Looks like it will attempt to reconnect in... 34 hours :-(<DIV><BR class="khtml-block-placeholder"></DIV><DIV>Yeah, a cap that is significantly lower than that would be a good idea.</DIV><DIV><BR><DIV><DIV>On Jan 8, 2007, at 1:35 PM, Greg Whalin wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite">Assuming you have it configured to attempt a re-connect, it uses a falling off retry period that doubles (starting at 1 second).  It is not capped (though it should be ... bug that it is not capped to something reasonable), so the retry will be pretty long after 24 hours of outage. <BR><BR>I will add a fix to cap the retry to something reasonable (I was actually certain that a cap used to exist at some point).<BR><BR>gw<BR><BR><BR><DIV><SPAN class="gmail_quote">On 1/8/07, <B class="gmail_sendername"> Randy Wigginton</B> &lt;<A href="mailto:krw@nobugz.com">krw@nobugz.com</A>&gt; wrote:</SPAN><BLOCKQUOTE class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> Don't everyone answer at once...<BR><BR>My question is with respect to the Java client.  What are the<BR>reconnect rules?  If it could not connect for over 24 hours, how long<BR>before it tries again?<BR><BR>On Jan 8, 2007, at 8:12 AM, Randy Wigginton wrote: <BR><BR>&gt;<BR>&gt; One of the uses for memcache here is to track server statistics.<BR>&gt; Not mission-critical information, but "nice to have" data.<BR>&gt;<BR>&gt; Over the weekend, my 1.2.0 version of memcache crashed, <BR>&gt; Unfortunately the instance did not have output logging, so I don't<BR>&gt; know what happened.  I'll update to 1.2.1 today (should have done<BR>&gt; it before anyway)<BR>&gt;<BR>&gt; Question is, how long before the servers attempt to re-connect to <BR>&gt; memcache?  I started up the instance again about 10 minutes ago,<BR>&gt; but only one machine has reconnected.<BR>&gt;<BR><BR></BLOCKQUOTE></DIV><BR><BR clear="all"><BR>-- <BR>Greg Whalin</BLOCKQUOTE></DIV><BR></DIV></BODY></HTML>