-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Open
Copy link
Labels
bugUnintended code behaviourUnintended code behaviourp2pCode related to the peer-to-peer behaviourCode related to the peer-to-peer behaviour
Milestone
Description
Looking at some mainnet PEER subsystem logs I see the persistentConnection request counter increase endlessly as long as the peer is offline. The only explanation how that could happen from my current understanding is when the rpc endpoint ConnectToPeer is used with the perm flag. However this does not happen on the node I am observing to this needs to be investigated.
This seems like a bug in the connection P2P system. Some peers accumulate more than 1000 persistent peer entries and I cannot explain how this can happen.
For example:
2025-07-13 23:58:58.534 [WRN] SRVR: Already have 989 persistent connection requests for 0364913d18a19c671bb36dd04d6ad5be0fe8f2894314c36a9db3f03c2d414907e1@192.243.215.102:51426, connecting anyway
Almost 989 connection requests are in memory and never cleaned up.
Raising the issue here to investigate at a later point in time
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugUnintended code behaviourUnintended code behaviourp2pCode related to the peer-to-peer behaviourCode related to the peer-to-peer behaviour