Skip to content
This repository has been archived by the owner on Feb 21, 2024. It is now read-only.

Add --maxpeers to your bootnodes #103

Open
usrbad opened this issue Mar 24, 2022 · 2 comments
Open

Add --maxpeers to your bootnodes #103

usrbad opened this issue Mar 24, 2022 · 2 comments

Comments

@usrbad
Copy link
Contributor

usrbad commented Mar 24, 2022

Hi, what about to add --maxpeers flag to command line option when run geth?
Lot's of people has issue with no peers when install with your bootnodes provided.
Default maxpeers is 50 so when a bootnode reach 50 connections, nobody can connect anymore.
Also may add --maxpeers flag to run user's node to increase incoming connections (need to update Readme)

@usrbad
Copy link
Contributor Author

usrbad commented Mar 24, 2022

I've set 300 for example and flying good

> net.peerCount
266

of course need to check resources how much you can set without problems to the server.

@setar
Copy link

setar commented Apr 6, 2022

> net.peerCount
679
> admin.nodeInfo
{
  enode: "enode://7612454dd41a6d13138b565a9e14a35bef4804204d92e751cfe2625648666b703525d821f34ffc198fac0d669a12d5f47e7cf15de4ebe65f39822a2523a576c4@81.29.137.40:30300",
...
  name: "Geth/Setar-node-service/v1.10.0-stable(quorum-v22.1.0)/linux-amd64/go1.17.5",
...

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants