[freenet-support] outputBandwidthLimit above 500kb/s -> freenet works no more

2005-01-17 Thread David Gubler
Hi

This is my first post to this mailing list, so beware...

If you set outputBandwidthLimit in the config file to a value above 50
(I did not try the exact value, but at 100 (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).
-
./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)
-

and one sample Exception from the log:

-
Jan 17, 2005 6:41:51 PM (freenet.support.io.NIOInputStream, YThread-26,
NORMAL): waited more than 12ms in NIOIS.read() tcp/connection:
39942>193.11.237.77:13885,[EMAIL PROTECTED]:[EMAIL PROTECTED]
closingjava.lang.Exception: debug
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.
david

PS: please forgive my spelling errors and such, my native language is
german...
-- 

The "eierlegende Wollmilchsau" Router Project
http://www.kabelverhau.ch/elwms/en_index.php



___
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]


Re: [freenet-support] Re: Freenet Won't Start

2005-01-17 Thread Kevin Steen
On Mon, 2005-01-17 at 13:49, Todd Walton wrote:
> On Mon, 17 Jan 2005 14:35:45 +0100, Alex R. Mosteo <[EMAIL PROTECTED]> wrote:
> > Interesting, I will try to start with a clean freenet.ini. Thought I
> > haven't changed any setting (directly nor with the configtool) when
> > freenet ceased to work.
> 
> Same here.

The other problem to check for is a zero-byte or corrupted 'node' file.
Rename the file and see if Freenet starts. If it still doesn't start,
put the original file back so as to preserve your node's identity

-Kevin


signature.asc
Description: This is a digitally signed message part
___
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]

Re: [freenet-support] Re: Freenet Won't Start

2005-01-17 Thread Todd Walton
On Mon, 17 Jan 2005 14:35:45 +0100, Alex R. Mosteo <[EMAIL PROTECTED]> wrote:
> Interesting, I will try to start with a clean freenet.ini. Thought I
> haven't changed any setting (directly nor with the configtool) when
> freenet ceased to work.

Same here.

-todd
___
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]


Re: [freenet-support] Re: Freenet Won't Start

2005-01-17 Thread dave
> the configtool should stop being part of the
> download and the config servlet should be implemented ASAP (Toad has
> mentioned such a servlet)

I definitely agree

___
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]


[freenet-support] Re: Freenet Won't Start

2005-01-17 Thread Alex R. Mosteo
Constantine Dokolas wrote:
[EMAIL PROTECTED] wrote:
[EMAIL PROTECTED] wrote:
Sounds like possibly an error in the config file rather than an 
error in
the datastore...

I'd suggest *not* using the windows configtool at any time. I've noticed
it
inserting bad character sequences into the config file.

Is that true?  I know it *used* to do that (about 2 yrs ago) but I
remember spending significant time and effort fixing it.

Do'h! Forgot to mention that it should be easy to check if that's the 
actual problem with a hex editor or a good text editor.
Interesting, I will try to start with a clean freenet.ini. Thought I 
haven't changed any setting (directly nor with the configtool) when 
freenet ceased to work.

___
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]


Re: [freenet-support] Re: Freenet Won't Start

2005-01-17 Thread Constantine Dokolas
[EMAIL PROTECTED] wrote:
[EMAIL PROTECTED] wrote:
Sounds like possibly an error in the config file rather than an error in
the datastore...
I'd suggest *not* using the windows configtool at any time. I've noticed
it
inserting bad character sequences into the config file.
Is that true?  I know it *used* to do that (about 2 yrs ago) but I
remember spending significant time and effort fixing it.
Do'h! Forgot to mention that it should be easy to check if that's the 
actual problem with a hex editor or a good text editor.

Doc
___
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]


Re: [freenet-support] Re: Freenet Won't Start

2005-01-17 Thread Constantine Dokolas
[EMAIL PROTECTED] wrote:
[EMAIL PROTECTED] wrote:
Sounds like possibly an error in the config file rather than an error in
the datastore...
I'd suggest *not* using the windows configtool at any time. I've noticed
it
inserting bad character sequences into the config file.
Is that true?  I know it *used* to do that (about 2 yrs ago) but I
remember spending significant time and effort fixing it.
I'm almost sure I've seen it happen in the past year. But then again... I 
can't confirm it. Anyway, the configtool should stop being part of the 
download and the config servlet should be implemented ASAP (Toad has 
mentioned such a servlet). Hmm, better add it to the 0.7 todo list... or is 
there going to be a 0.6 release?

Doc
___
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]


Re: [freenet-support] Re: Freenet Won't Start

2005-01-17 Thread dave
> [EMAIL PROTECTED] wrote:
>> Sounds like possibly an error in the config file rather than an error in
>> the datastore...
>
> I'd suggest *not* using the windows configtool at any time. I've noticed
> it
> inserting bad character sequences into the config file.


Is that true?  I know it *used* to do that (about 2 yrs ago) but I
remember spending significant time and effort fixing it.  However since
then the freenet config file options changed about three hundred times so
I'm pretty sure the windows config tool is next to useless now  (although
I understand setting datastore size still works)

d

___
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]


Re: [freenet-support] Re: Freenet Won't Start

2005-01-17 Thread Constantine Dokolas
[EMAIL PROTECTED] wrote:
Sounds like possibly an error in the config file rather than an error in
the datastore...
I'd suggest *not* using the windows configtool at any time. I've noticed it 
inserting bad character sequences into the config file.

Todd Walton wrote:
When I start Freenet I just get the bunny with the up arrows in my
system tray.  The up arrows go on forever, Freenet never starting.
Same here. One day it worked, next reboot nothing. I've tried deleting
the datastore (see below) but to no avail.
My logs show two exceptions related with input/output. I can't remember
and I don't have it here, but it was something about an unexpected EOF.
___
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]


Re: [freenet-support] Re: Freenet Won't Start

2005-01-17 Thread dave
Sounds like possibly an error in the config file rather than an error in
the datastore...


> Todd Walton wrote:
>> When I start Freenet I just get the bunny with the up arrows in my
>> system tray.  The up arrows go on forever, Freenet never starting.
>
> Same here. One day it worked, next reboot nothing. I've tried deleting
> the datastore (see below) but to no avail.
>
> My logs show two exceptions related with input/output. I can't remember
> and I don't have it here, but it was something about an unexpected EOF.


___
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]


[freenet-support] Re: Freenet Won't Start

2005-01-17 Thread Alex R. Mosteo
Todd Walton wrote:
Freenet was running fine.  I rebooted my computer into Windows and
Freenet won't run.  To repeat: it was running fine before, and I
didn't change anything.  I've uninstalled Freenet (keeping the store
and route data) and reinstalled it.  It didn't work.
When I start Freenet I just get the bunny with the up arrows in my
system tray.  The up arrows go on forever, Freenet never starting.
Same here. One day it worked, next reboot nothing. I've tried deleting 
the datastore (see below) but to no avail.

My logs say I have a clock skew problem, but that's never stopped it
before.  I've had the clock skew problem for a long time.  There are
no other errors in the log.
My logs show two exceptions related with input/output. I can't remember 
and I don't have it here, but it was something about an unexpected EOF. 
That's why I wiped out the datastore.

This sudden death of freenet in windows already happened to me some 
months ago. Recently, I erased all traces of freenet from my computer 
and reinstalled 5100. It worked great for some days. I'll try to dig out 
the error log message.

___
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]


[freenet-support] FEC question

2005-01-17 Thread Marco A. Calamari

Which is the normal lenght of a block in a FEC
 splitfile ?
I guess 256K, but this is always true ?
Can I control it in some way, with usual insertion tools
There are a lot of splitfile around that are by declared lenght
 more that one segment (if blocksize is 256K) but
 declare that they has only one (and download only in part)

THX

-- 

"Oggi e' il domani di cui ci dovevamo preoccupare ieri."


signature.asc
Description: This is a digitally signed message part
___
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]