[freenet-dev] Still getting timeouts

Robert Hailey robert at freenetproject.org
Fri Feb 1 18:25:32 UTC 2008


On Feb 1, 2008, at 11:55 AM, Matthew Toseland wrote:

>>> Is there anything I can do?
>>
>> I am not familiar with the window-grows-while-unused bug, and am not
>> working on/debugging the message layer right now. It's up to you.
>
> I will fix the window-grows-while-unused bug.
>
> W.r.t. messaging layer bugs, please explain how to reproduce your  
> simulation;
> commit whatever source is needed.

The only modifications beyond previous commits are quite minor;  
committed in r17462.

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:

java -Xmx512m -cp freenet-ext.jar:freenet-cvs-snapshot.jar  
freenet.node.simulator.RealNodeRequestInsertTest

--
Robert Hailey

Index: src/freenet/node/RequestSender.java
===================================================================
--- src/freenet/node/RequestSender.java	(revision 17413)
+++ src/freenet/node/RequestSender.java	(working copy)
@@ -268,7 +268,7 @@
                  }

              	if(msg == null) {
- if(logMINOR) Logger.minor(this, "Timeout waiting for Accepted");
+ Logger.error(this, "Timeout waiting for Accepted");
              		// Timeout waiting for Accepted
              		next.localRejectedOverload("AcceptedTimeout");
              		forwardRejectedOverload();
@@ -341,7 +341,7 @@
              	if(logMINOR) Logger.minor(this, "second part got "+msg);

              	if(msg == null) {
- Logger.normal(this, "request fatal-timeout (null) after accept  
("+gotMessages+" messages; last="+lastMessage+")");
+ Logger.error(this, "request fatal-timeout (null) after accept  
("+gotMessages+" messages; last="+lastMessage+")");
              		// Fatal timeout
              		next.localRejectedOverload("FatalTimeout");
              		forwardRejectedOverload();


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://emu.freenetproject.org/pipermail/devl/attachments/20080201/9241ae53/attachment.htm 


More information about the Devl mailing list