<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Feb 1, 2008, at 11:55 AM, Matthew Toseland wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Courier; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; "><blockquote type="cite"><blockquote type="cite">Is there anything I can do?<br></blockquote></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">I am not familiar with the window-grows-while-unused bug, and am not <br></blockquote><blockquote type="cite">working on/debugging the message layer right now. It's up to you.<br></blockquote><br>I will fix the window-grows-while-unused bug.<br><br>W.r.t. messaging layer bugs, please explain how to reproduce your simulation;<span class="Apple-converted-space"> </span><br>commit whatever source is needed.</span></blockquote></div><br><div>The only modifications beyond previous commits are quite minor; committed in r17462.</div><div><br class="webkit-block-placeholder"></div><div>To see timeouts in the default logging output I increased them to 'error' as depicted below (not committed), and ran that code with this command:</div><div><br class="webkit-block-placeholder"></div><div><font class="Apple-style-span" face="Courier">java -Xmx512m -cp freenet-ext.jar:freenet-cvs-snapshot.jar freenet.node.simulator.RealNodeRequestInsertTest</font></div><div><br class="webkit-block-placeholder"></div><div>--</div><div>Robert Hailey</div><div><br class="webkit-block-placeholder"></div><div><div><font class="Apple-style-span" face="Courier">Index: src/freenet/node/RequestSender.java</font></div><div><font class="Apple-style-span" face="Courier">===================================================================</font></div><div><font class="Apple-style-span" face="Courier">--- src/freenet/node/RequestSender.java</font><span class="Apple-tab-span" style="white-space:pre"><font class="Apple-style-span" face="Courier">        </font></span><font class="Apple-style-span" face="Courier">(revision 17413)</font></div><div><font class="Apple-style-span" face="Courier">+++ src/freenet/node/RequestSender.java</font><span class="Apple-tab-span" style="white-space:pre"><font class="Apple-style-span" face="Courier">        </font></span><font class="Apple-style-span" face="Courier">(working copy)</font></div><div><font class="Apple-style-span" face="Courier">@@ -268,7 +268,7 @@</font></div><div><font class="Apple-style-span" face="Courier"> }</font></div><div><font class="Apple-style-span" face="Courier"> </font></div><div><font class="Apple-style-span" face="Courier"> </font><span class="Apple-tab-span" style="white-space:pre"><font class="Apple-style-span" face="Courier">        </font></span><font class="Apple-style-span" face="Courier">if(msg == null) {</font></div><div><font class="Apple-style-span" face="Courier">- </font><font class="Apple-style-span" face="Courier">if(logMINOR) Logger.minor(this, "Timeout waiting for Accepted");</font></div><div><font class="Apple-style-span" face="Courier">+ </font><font class="Apple-style-span" face="Courier">Logger.error(this, "Timeout waiting for Accepted");</font></div><div><font class="Apple-style-span" face="Courier"> </font><span class="Apple-tab-span" style="white-space:pre"><font class="Apple-style-span" face="Courier">                </font></span><font class="Apple-style-span" face="Courier">// Timeout waiting for Accepted</font></div><div><font class="Apple-style-span" face="Courier"> </font><span class="Apple-tab-span" style="white-space:pre"><font class="Apple-style-span" face="Courier">                </font></span><font class="Apple-style-span" face="Courier">next.localRejectedOverload("AcceptedTimeout");</font></div><div><font class="Apple-style-span" face="Courier"> </font><span class="Apple-tab-span" style="white-space:pre"><font class="Apple-style-span" face="Courier">                </font></span><font class="Apple-style-span" face="Courier">forwardRejectedOverload();</font></div><div><font class="Apple-style-span" face="Courier">@@ -341,7 +341,7 @@</font></div><div><font class="Apple-style-span" face="Courier"> </font><span class="Apple-tab-span" style="white-space:pre"><font class="Apple-style-span" face="Courier">        </font></span><font class="Apple-style-span" face="Courier">if(logMINOR) Logger.minor(this, "second part got "+msg);</font></div><div><font class="Apple-style-span" face="Courier"> </font></div><div><font class="Apple-style-span" face="Courier"> </font><span class="Apple-tab-span" style="white-space:pre"><font class="Apple-style-span" face="Courier">        </font></span><font class="Apple-style-span" face="Courier">if(msg == null) {</font></div><div><font class="Apple-style-span" face="Courier">-<span class="Apple-style-span" style="white-space: pre;"> </span></font><font class="Apple-style-span" face="Courier">Logger.normal(this, "request fatal-timeout (null) after accept ("+gotMessages+" messages; last="+lastMessage+")");</font></div><div><font class="Apple-style-span" face="Courier">+<span class="Apple-style-span" style="white-space: pre;"> </span></font><font class="Apple-style-span" face="Courier">Logger.error(this, "request fatal-timeout (null) after accept ("+gotMessages+" messages; last="+lastMessage+")");</font></div><div><font class="Apple-style-span" face="Courier"> </font><span class="Apple-tab-span" style="white-space:pre"><font class="Apple-style-span" face="Courier">                </font></span><font class="Apple-style-span" face="Courier">// Fatal timeout</font></div><div><font class="Apple-style-span" face="Courier"> </font><span class="Apple-tab-span" style="white-space:pre"><font class="Apple-style-span" face="Courier">                </font></span><font class="Apple-style-span" face="Courier">next.localRejectedOverload("FatalTimeout");</font></div><div><font class="Apple-style-span" face="Courier"> </font><span class="Apple-tab-span" style="white-space:pre"><font class="Apple-style-span" face="Courier">                </font></span><font class="Apple-style-span" face="Courier">forwardRejectedOverload();</font></div><div><br class="webkit-block-placeholder"></div></div><div><br class="webkit-block-placeholder"></div></body></html>