We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
cc: @MarcoPolo
When using Resource manager with InfiniteLimits via:
InfiniteLimits
rcmgr.NewResourceManager(rcmgr.NewFixedLimiter(rcmgr.InfiniteLimits))
We still seeing connections failing with ErrResourceLimitExceeded, likely due to the numeric overflow in checkMemory
ErrResourceLimitExceeded
PS. While here it would be nice to have unittest for the InfiniteLimits.
The text was updated successfully, but these errors were encountered:
Thanks for debugging this! I'm pretty sure the culprit is here: https://github.com/libp2p/go-libp2p/blob/master/p2p/host/resource-manager/scope.go#L87
Agreed, want to take a stab at it?
Sorry, something went wrong.
Fair enough! I'm not the best coder but I'll try.
MarcoPolo
Successfully merging a pull request may close this issue.
cc: @MarcoPolo
When using Resource manager with
InfiniteLimits
via:We still seeing connections failing with
ErrResourceLimitExceeded
, likely due to the numeric overflow in checkMemoryPS. While here it would be nice to have unittest for the
InfiniteLimits
.The text was updated successfully, but these errors were encountered: