Is it normal to be connected only with a few peers (1 to 4, more often 1 than 4)? I think with such a low number of peers, there are security issues. If it is not, is there any way to increase this number? I am running geth --syncmode "light" because of RAM issues so perhaps it may be related?

1 Answer 1


That seems low for your normal number of peers. I've encountered low peer counts in the past (with geth versions less than or equal to 1.4.13; I use Parity now) and they've been due to

  1. incorrectly synchronized clock (not so far off as to be cut off from the network, but bad enough to have fewer peers);
  2. attempting to have too many peers relative to my network connection (resolved by running geth in the cloud and adding it as a static peer in my local node and vice versa; to make this possible, my local node had a static address via a VPN shared with the cloud node; also, reducing maxpeers);
  3. firewalls (specifically, blocked inbound connections);
  4. outdated peers/nodes list (resolved by renaming/deleting the list directory; this is the .ethereum/geth/nodes directory); and
  5. my use of a statically added peer.

Your guess about RAM may be correct since the proximal cause may be the same as the #2 reason I have above: my hypothesis was that my node was timing out before completing a handshake/etc. For some of these things, you can check to see if your client is making and breaking a lot of connections to peers.

I found Parity to be much more capable of maintaining a high peer count.

  • What do you consider a high peer count? 300? 1000?
    – Gaia
    Commented Sep 20, 2017 at 18:37
  • 1
    I think I have my peers count set to 250 on one of my machines (definitely have machines running 100).
    – lungj
    Commented Sep 20, 2017 at 18:39
  • what is the main machine resource consumed by more peers besides network? cpu? ram? i would like to i approx the max amounts of peers my box can handle. and is there a downside to having a lot of peers?
    – Gaia
    Commented Sep 22, 2017 at 17:16
  • 1
    This should be asked as another question. I have a truly marvellous answer which this textbox is too narrow to contain.
    – lungj
    Commented Sep 22, 2017 at 17:23
  • here it goes. i will delete the comments once you ack this q. ethereum.stackexchange.com/questions/26927/…
    – Gaia
    Commented Sep 22, 2017 at 18:57

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.