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

Peer with no streams but maxed out memory #1374

Closed
BigLep opened this issue Apr 5, 2022 · 1 comment · Fixed by #1387
Closed

Peer with no streams but maxed out memory #1374

BigLep opened this issue Apr 5, 2022 · 1 comment · Fixed by #1387
Labels
kind/bug A bug in existing code (including security flaws)

Comments

@BigLep
Copy link
Contributor

BigLep commented Apr 5, 2022

Impact: this is blocking enabling the resource mananager on by default in Lotus.

Context is in Filecoin slack: https://filecoinproject.slack.com/archives/CP50PPW2X/p1649118410337389

"12D3KooWQ4fdNGJb92npgJQsdjE8XS4Cgy8mLwnBrmePfAASYPdH": {
      "NumStreamsInbound": 0,
      "NumStreamsOutbound": 0,
      "NumConnsInbound": 1,
      "NumConnsOutbound": 0,
      "NumFD": 1,
      "Memory": 67108864
    },

With logs like

2022-04-05T02:25:30.547+0200    DEBUG   rcmgr   go-libp2p-resource-manager@v0.1.5/scope.go:242  blocked memory reservation      {"scope": "peer:12D3KooWQ4fdNGJb92npgJQsdjE8XS4Cgy8mLwnBrmePfAASYPdH", "size": 262144, "priority": 255, "stat": {"NumStreamsInbound":0,"NumStreamsOutbound":1,"NumConnsInbound":2,"NumConnsOutbound":0,"NumFD":2,"Memory":67108864}, "error": "resource limit exceeded"}
@BigLep
Copy link
Contributor Author

BigLep commented Apr 5, 2022

From @vyzo (in slack):

seems like a bug in the muxer, not releasing memory
but maybe its a QUIC conn
i think the rcmgr itself is totally fine

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug A bug in existing code (including security flaws)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants