[Medium] Connection Pool Exhaustion Under High Peer Load #23
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Issue
The mycelium network node lacks a backpressure or rate-limiting mechanism for the peer connection pool, leading to resource exhaustion under high load.
Location
mycelium/src/connection/Problem Description
When many peers attempt to connect or re-connect simultaneously, the node will spawn tasks or allocate buffers for each connection without a global cap. This can exhaust:
Impact
Remediation
Testing