-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Oskar Sandberg <oskar at freenetproject.org> writes:

> Actually, Outgoing connections do not use pooled threads at all, Gianni
> disabled this due to some argument about all threads getting stuck in a
> TCP timeout (see OCM L139).
> 
So there's _nothing_ limiting how many outbound connections nodes can
have?  eek.  Maybe a "solution" could be just to actually limit them.

> <> 
> > To fix this problem, I propose two things:
> > (1) default maxNodeConnections to 70
> > (2) subtract maxNodeConnections from maximumThreads on transient nodes.
> 
> I don't think this will solve the problem - the network is not
> completely evenly distributed, and you will end up with important nodes
> being locked up all the time anyways. The simple answer is to have nodes
> close existing connections when they have too many to accept any more -
> but because we at the same time we do want to block incoming connections
> when nodes are swamped the algorithm for doing this has been hard to pin
> down.
> 
I agree that (1) and (2) aren't sufficient to deal with the
overloading problem, but they're going to help.  A real solution will
also include some way to use the resources of transient nodes,
possibly by getting rid of the idea and just being able to deal with
changing network availability efficiently.

> It might be interesting to see what results people running nodes see
> when grepping the log for:
> 
> Stopped .* connections; effect may not be instant.
> 
Even when my node is as busy as it gets, the _vast_ majority of times
I've seen this message it's been "stopped 0 connections".  Maybe I
just haven't noticed when it's been otherwise.

> Nothing says a transient node can't have any incoming connections.
> 
> -- 
> 
> Oskar Sandberg
> oskar at freenetproject.org

Unless something has changed, it's really unlikely for a transient
node to have incoming connections.
- -- 
E-mail: thelema314 at bigfoot.com                        Raabu and Piisu
GPG 1024D/36352AAB fpr:756D F615 B4F3 BFFC 02C7  84B7 D8D7 6ECE 3635 2AAB
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.6 and Gnu Privacy Guard 
<http://www.gnupg.org/>

iD8DBQE8MKEY2NduzjY1KqsRApxAAKCC/o56c21M+1bosURyBy0BZDhp0wCfTabK
7P6PwOHnCsQpMNzVh3uB89I=
=O159
-----END PGP SIGNATURE-----

_______________________________________________
Devl mailing list
Devl at freenetproject.org
http://lists.freenetproject.org/mailman/listinfo/devl

Reply via email to