On Mon, Jan 17, 2005 at 07:02:30PM +0100, David Gubler wrote:
> Hi
> 
> This is my first post to this mailing list, so beware...
> 
> If you set outputBandwidthLimit in the config file to a value above 500000
> (I did not try the exact value, but at 1000000 (1 MB/s) at least some of
> the problems appear), Freenet gives Exceptions on the console and in the
> log file, more specifically one Exception per attempted TCP connection (it
> seems).

Hmmm.
> -----
> ./start-freenet.sh
> Detected freenet-ext.jar
> Detected freenet.jar
> Sun java detected.
> Sun Java 1.4.2 detected.
> Starting Freenet now: Command line: java -Xmx128m
> -XX:MaxDirectMemorySize=128m freenet.node.MainDone
> INFO: Native CPUID library
> 'freenet/support/CPUInformation/libjcpuid-x86-linux.so' loaded from
> resourceINFO: Optimized native BigInteger library
> 'net/i2p/util/libjbigi-linux-pentium3.so' loaded from 
> resourcejava.lang.IllegalArgumentException: illegal (low) report: -Infinity!
>         at
>         
> freenet.node.rt.TimeDecayingRunningAverage.report(TimeDecayingRunningAverage.java:162)
>         at freenet.node.Node.getGlobalQuota(Node.java:4623)
>         at freenet.PeerHandler.getRequestInterval(PeerHandler.java:1692)
>         at freenet.KeepaliveSender.run(KeepaliveSender.java:65)
>         at java.lang.Thread.run(Thread.java:534)

Hmm. We check for division by 0 a few lines above...
Does this happen a lot?

> -----
> 
> and one sample Exception from the log:
> 
> -----
> Jan 17, 2005 6:41:51 PM (freenet.support.io.NIOInputStream, YThread-26,
> NORMAL): waited more than 120000ms in NIOIS.read() tcp/connection:
> 39942>193.11.237.77:13885,[EMAIL PROTECTED]:[EMAIL PROTECTED]
> closingjava.lang.Exception: debug

This is normal. :( The exception will not cause connections to get killed;
it is never thrown, only logged. Whatever causes the timeouts might though.

>         at freenet.support.io.NIOInputStream.read(NIOInputStream.java:319)
>         at java.io.FilterInputStream.read(FilterInputStream.java:66)
>         at freenet.session.FnpLink.negotiateOutbound(FnpLink.java:637)
>         at freenet.session.FnpLink.solicit(FnpLink.java:202)
>         at
>         
> freenet.session.FnpLinkManager.createOutgoing(FnpLinkManager.java:111)        
> at freenet.ConnectionJob.run(ConnectionJob.java:378)
>         at freenet.ConnectionJob.createConnection(ConnectionJob.java:78)
>         at freenet.node.ConnectionOpener.checkpoint(ConnectionOpener.java:95)
>         at
>         
> freenet.node.states.maintenance.Checkpoint.checkpoint(Checkpoint.java:54)     
>    at
>         
> freenet.node.states.maintenance.Checkpoint.received(Checkpoint.java:47)       
>  at freenet.node.StateChain.received(StateChain.java:177)
>         at freenet.node.StateChain.received(StateChain.java:61)
>         at
>         
> freenet.node.StateChainManagingMessageHandler$ChainContainer.run(StateChainManagingMessageHandler.java:335)
>         at
>         
> freenet.node.StateChainManagingMessageHandler$ChainContainer.received(StateChainManagingMessageHandler.java:288)
>         at
>         
> freenet.node.StateChainManagingMessageHandler$ChainContainer.access$100(StateChainManagingMessageHandler.java:207)
>         at
>         
> freenet.node.StateChainManagingMessageHandler.handle(StateChainManagingMessageHandler.java:99)
>         at freenet.Ticker$Event.run(Ticker.java:325)
>         at freenet.thread.YThreadFactory$YThread.run(YThreadFactory.java:285)
> -----
> 
> 
> Other symptoms:
> -Freenet tries to create connections as usual, but shortly after the
> connection reaches the ESTABLISHED state (netstat), the connection gets
> killed without transmitting any data-The "Open Connections" Page in the 
> Browser front-end misses at least one
> table, only the menu and the "open connections" title are visible
> What I tried:
> -Kernel 2.6.10, Pentium 3 Mobile 800MHz, 384MB Ram
> -Freenet version 5100, freenet-latest.tgz
> -Java 1.4.2_06-b03, also tried 1.5, exctly the same symptoms (btw. on java
> 1.5, freenet still says 1.4.2 on the console, altough the Environment page
> correctly says 1.5)-Debian Sarge/Sid
> -with or without export LD_ASSUME_KERNEL=2.2.5 before launching the
> startup script, this did not have any visible effect. I guess POSIX
> threads are active on my system, but I don't really know-seednodes.ref from a 
> working node, did not help
> 
> To me this looks like a float rounding problem (some value gets too close
> to zero 'cause of a division by the bandwith value), but that's just a
> guess.
> You may think "why on earth would anyone set the bandwith to more than
> 500kb/s", well I'm on a university line (sometimes) and I did want to try
> how freenet behaves with that much bandwith... and afterall it took me an
> awful lot of time to figure this out and I don't want others to run into
> the same problems and waste their time as well :) Btw. google turned out
> some people with similar problems, but noone seems to have found what
> causes the problem.

Did you try turning off the bandwidth limit altogether?

> david
> 
> PS: please forgive my spelling errors and such, my native language is
> german...
-- 
Matthew J Toseland - [EMAIL PROTECTED]
Freenet Project Official Codemonkey - http://freenetproject.org/
ICTHUS - Nothing is impossible. Our Boss says so.

Attachment: signature.asc
Description: Digital signature

_______________________________________________
Support mailing list
Support@freenetproject.org
http://news.gmane.org/gmane.network.freenet.support
Unsubscribe at http://dodo.freenetproject.org/cgi-bin/mailman/listinfo/support
Or mailto:[EMAIL PROTECTED]

Reply via email to