On Wed, Jul 23, 2003 at 03:20:41AM -0400, Daves Lists wrote:
> Toad writes: 
> 
> >On Tue, Jul 22, 2003 at 01:08:52PM -0400, Daves Lists wrote:
> >>I just started using freenet and just had a quick question. i've noticed 
> >>that it is always rejecting incoming connections. I was wondering what 
> >>variables it uses to decide to do that? I've fiddled with the maxthreads 
> >>and connections but increasing those seems to make it worse. Setting max 
> >>threads to unlimited will stop it but it will also take the machine down 
> >>when it reaches about four to five hundred.  
> >>
> >>This could just be something up with the build but I dunno. I'm using 
> >>6105 since I like to try and crash things.. =)  
> >>
> >>Dave
> >
> >ALL connections or just MOST connections? What does you Environment
> >page, and Network Load page, look like? Chances are, it's just getting
> >lots of traffic for some reason. 
> >
> Well I should say it reaches 600 connections and then rejects until some 
> drop off. So it looks normal since thats what I'm set to. The only weird 

Having reached the maximum connection limit, it should generally kill
old connections rather than rejecting new ones. It would only reject new
ones if it was REALLY overloaded, which has very little to do with the
number of connections open.

> thing is that alot of hosts are connecting numerous times to me. One is 
> connected over 50 times. According to the open connections listing most of 
> them are almost always idle also. Is there a setting to drop connections 
> that are idle for extended periods? Alot of them have idle times almost 

No. Intentionally. Because the cost of opening a new connection is
HUGE, it drastically slows down routing. We want to keep as many
connections open as possible for this reason. Unfortunately, since we
have not yet implemented connection multiplexing, every time we need to
send data to a node, if we are already sending to it on all open
connections, we have to open a new connection.

> matching their lifetimes. That to me would be a useless connection that is 
> just wasting my resources. 

Hmm. It's possible there is a bug causing it to not route data over
existing connections...
> 
> Dave

-- 
Matthew J Toseland - [EMAIL PROTECTED]
Freenet Project Official Codemonkey - http://freenetproject.org/
ICTHUS - Nothing is impossible. Our Boss says so.

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to