Skip to content
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

peers limit not working (git v1.0.1-35-g2df633b) #2616

Closed
nikito7 opened this issue Feb 21, 2019 · 9 comments
Closed

peers limit not working (git v1.0.1-35-g2df633b) #2616

nikito7 opened this issue Feb 21, 2019 · 9 comments

Comments

@nikito7
Copy link

nikito7 commented Feb 21, 2019

maybe since "peer:port db" change

(git v1.0.1-35-g2df633b), built for x86_64-unknown-linux-gnu by rustc 1.32.0 (9fda7c223 2019-01-16).
20190221 22:24:48.830 DEBUG grin - Built with profile "release", features "".
Grin Server Status

Protocol version: 1
User agent: MW/Grin 1.0.1
Connections: 50

peer_max_count = 30
peer_min_preferred_count = 20

@nikito7
Copy link
Author

nikito7 commented Feb 21, 2019

Ok i changed default port
With port=3414 its ok

@nikito7
Copy link
Author

nikito7 commented Feb 22, 2019

@antiochp

port=9999

Protocol version: 1
User agent: MW/Grin 1.0.1
Connections: 30
Chain height: 54300

Protocol version: 1
User agent: MW/Grin 1.0.1
Connections: 49
Chain height: 54301

@nikito7
Copy link
Author

nikito7 commented Feb 22, 2019

I have static IP

20190222 12:21:32.956 DEBUG grin_servers::grin::seed - monitor_peers: on 0.0.0.0:9999, 53 connected (38 most_work). all 7905 = 254 healthy + 10 banned + 7641 defunct

funny 254 healthy

@antiochp
Copy link
Member

antiochp commented Feb 22, 2019

funny 254 healthy

This looks pretty reasonable to me right now based on stats from other nodes on the network.

For example I see ~13,000 defunct peers (and only ~120 healthy) from a node that has been running since genesis -

20190222 12:26:16.263 DEBUG grin_servers::grin::seed - monitor_peers: on 0.0.0.0:3414, 67 connected (56 most_work). all 13321 = 120 healthy + 13 banned + 13188 defunct

The vast majority of nodes are behind NAT and do not have port forwarding so we have no way of connecting to them directly.

@nikito7
Copy link
Author

nikito7 commented Feb 22, 2019

monitor_peers: on 0.0.0.0:9999, 53 connected (38 most_work).

monitor_peers: on 0.0.0.0:3414, 12 connected (11 most_work).

@antiochp understand?

@antiochp
Copy link
Member

monitor_peers: on 0.0.0.0:9999, 53 connected (38 most_work).

monitor_peers: on 0.0.0.0:3414, 12 connected (11 most_work).

@antiochp understand?

I don't think this is enough to determine one way or the other, it takes time for peers to settle down given the large number of "defunct" peers you see.

I don't immediately see this being related to #2616.
Its also unrelated to the "peers limit" in the title of this issue.

@nikito7 nikito7 closed this as completed Feb 22, 2019
@nikito7 nikito7 reopened this Feb 22, 2019
@nikito7
Copy link
Author

nikito7 commented Feb 22, 2019

Closed

See #2618

@nikito7 nikito7 closed this as completed Feb 22, 2019
@leoyoung-69
Copy link
Contributor

leoyoung-69 commented Sep 17, 2019

Hi, could I ask how you change the defaut port to 3414?
(I know this question is stupid, but I've got no solution after searching. )

Thank you in advance.

@nikito7
Copy link
Author

nikito7 commented Sep 17, 2019

in grin-server.toml

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

No branches or pull requests

3 participants