Bitcoin Forum
December 15, 2024, 08:52:59 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: full node; In vs. Out connections  (Read 535 times)
David Rabahy (OP)
Hero Member
*****
Offline Offline

Activity: 709
Merit: 503



View Profile
March 21, 2016, 05:28:46 PM
 #1

The default is 8 out connections.  I configure my full node to allow 50 connections resulting in 42 in connections.  Would it be more helpful to configure more out connections?
shorena
Copper Member
Legendary
*
Offline Offline

Activity: 1498
Merit: 1540


No I dont escrow anymore.


View Profile
March 21, 2016, 10:16:29 PM
 #2

The default is 8 out connections.  I configure my full node to allow 50 connections resulting in 42 in connections.  Would it be more helpful to configure more out connections?

I dont think it matters who establishes the connection and if you establish all the connections you have no more free spots for clients that are looking for another node. I also noticed that if you run a node for some time, the maximum connection count gets saturated quickly. Which IMHO makes sense as your IP is in more peers.dat files.

This is my node that has been running for ~2 years now and as you can see after a reboot its back close to the limit (42) within ~24 hours.



This is my new node that has been running for only a few days and besides some peaks to ~125 due to connections by spv clients it grows connections more slowly. It will probably be another week until it hits 40 steady connections.


Im not really here, its just your imagination.
David Rabahy (OP)
Hero Member
*****
Offline Offline

Activity: 709
Merit: 503



View Profile
March 22, 2016, 02:56:14 PM
 #3

Hmm, interesting.  Suppose the software were "enhanced" to establish out connection all the way up to a few less than the maximum allowed connections right away.  After that whenever there are near maximum connections, it would drop out connections to make room for some more in connections.  I suppose we would have to be careful not to drop our last few full connections; having only SVP connections might be some sort of problem.
David Rabahy (OP)
Hero Member
*****
Offline Offline

Activity: 709
Merit: 503



View Profile
March 22, 2016, 03:01:52 PM
 #4

I sort of do this manually now.  I review the list of Peers and disconnect some as I see fit.  For example, ones reporting terribly skewed clocks get dropped.  Honestly, set your clock.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!