Giter Club home page Giter Club logo

Comments (6)

jakubgs avatar jakubgs commented on June 2, 2024 1

Doesn't seem related to max peers limit to me:

[email protected]:~ % s cat beacon-node-mainnet-stable-01 | grep -e max-peers -e metrics-port -e tcp-port   
    --tcp-port=9000 \
    --max-peers=320 \
    --metrics-port=9200 \
[email protected]:~ % sudo nmap -Pn -p9000 localhost                                                        
Starting Nmap 7.80 ( https://nmap.org ) at 2023-06-12 08:54 UTC
Nmap scan report for localhost (127.0.0.1)
Host is up.

PORT     STATE    SERVICE
9000/tcp filtered cslistener

Nmap done: 1 IP address (1 host up) scanned in 2.12 seconds
[email protected]:~ % curl -s 0:9200/metrics | grep '^libp2p_peers '                                        
libp2p_peers 25.0

Clearly not at a limit, and the port seems unresponsive to TCP handshakes.

from nimbus-eth2.

Menduist avatar Menduist commented on June 2, 2024 1

#5102 seems to have fixed this for good, please re-open if it happens again

from nimbus-eth2.

Menduist avatar Menduist commented on June 2, 2024

The node stops accepting new connections when it is full

from nimbus-eth2.

jakubgs avatar jakubgs commented on June 2, 2024

Okay:

  1. What do you mean by "full"? Are you referring to max peers limit? Because I've seen this on nodes that are not at limit.
  2. What do you mean by "stops accepting new connections"? Do you mean they reject connections or just ignore them?

from nimbus-eth2.

Menduist avatar Menduist commented on June 2, 2024

Yes, once they reach --max-peers, they will ignore connections (to be more precise, they won't call accept, so it will be queued in the kernel as long as the other side is happy to wait, most probably will timeout after a while)
Though, if you've seen it on nodes which are not at their limit, that might be an actual issue

from nimbus-eth2.

Menduist avatar Menduist commented on June 2, 2024

Probable fix: status-im/nim-libp2p#916

from nimbus-eth2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.