-
Notifications
You must be signed in to change notification settings - Fork 992
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
need larger list of DNS_SEEDS for mainnet #2214
Comments
For the workaround solution to "fix" this DNS issue
And then restart the grin process. |
We certainly need both more seeds and more DNSs. But my seed has been up that whole time so not sure what happened? |
Tried it again before applying the above fix, and it's now working as it should. 11 connected peers. |
I suspect (but have no concrete evidence) that these seed nodes were maxed out with peers. We should probably have the seeds configured to accept more than 25 max peer connections. |
is it acceptable for a node to pass on the address of another known node when it’s reached its max peer limit? |
Peers won't know reliably how many peers other peers have... we have no insight into this (and probably shouldn't trust them even if they did broadcast this). We should allow nodes (and the seeds) accept higher numbers of peers (even if temporarily) just to facilitate peer lists being sent around. |
It looks like bitcoin actually allows up to 125 peers by default, although that seems a bit excessive. There is code that dynamically lowers that based on the number of available file descriptors though. https://github.com/bitcoin/bitcoin/blob/master/src/net.h I can't find it in their bloated codebase, but if I recall correctly, there at least used to be code that would allow a peer to connect, even if you have too many connections. It would then immediately broadcast an addr message, and then disconnect. It's also entirely possible I completely made that up, or that I'm getting it mixed up with some bitcoin tools I wrote. Either way, it seems like a good idea. |
I've greatly increased the max peers on my seed yesterday (now 250). I think all seeds should do this. It may be nice later to have a peer feature that's seed only, so other peers can by default disconnect after a bit to not hold up more connections. |
What's the process of donating a seed box? I'd be glad to add to the pool. I have several options. |
More have been added with more coming. Closing. |
Today all the 3 nodes in
FLOONET_DNS_SEEDS
i.e.floonet.seed.grin-tech.org
are down and not accessible, which cause all new nodes can't connect to the Floonet.This issue is just used to remind us that we indeed need a larger list of this DNS seed, at least 3 for example, and perhaps 6 or 8 for the initial seeds are better.
The text was updated successfully, but these errors were encountered: