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

MemoryPool in SocketConnectionListener leaks after high load #28560

Closed
zackliu opened this issue Dec 10, 2020 · 1 comment
Closed

MemoryPool in SocketConnectionListener leaks after high load #28560

zackliu opened this issue Dec 10, 2020 · 1 comment
Labels
area-networking Includes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions ✔️ Resolution: Duplicate Resolved as a duplicate of another issue Status: Resolved

Comments

@zackliu
Copy link

zackliu commented Dec 10, 2020

Describe the bug

I found lots of memory doesn't get gc after a very high load testing (More than 30000 websocket connections and concurrent sending message every 1 second on a 8 cores VM).
I got a dump after testing and found MemoryPool in SocketConnectionListener consumes a lot of memories.

Screenshot 2020-12-10 113540

To Reproduce

  1. Make a large number of concurrent connections to a SignalR project and send quickly
  2. End all connections

Further technical details

  • ASP.NET Core version 3.1.5
@davidfowl
Copy link
Member

Duplicate of #24958

I think we need to fix this now 😄

@BrennanConroy BrennanConroy added ✔️ Resolution: Duplicate Resolved as a duplicate of another issue area-servers labels Dec 10, 2020
@ghost ghost added the Status: Resolved label Dec 10, 2020
@ghost ghost locked as resolved and limited conversation to collaborators Jan 10, 2021
@amcasey amcasey added area-networking Includes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions and removed area-runtime labels Aug 24, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-networking Includes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions ✔️ Resolution: Duplicate Resolved as a duplicate of another issue Status: Resolved
Projects
None yet
Development

No branches or pull requests

5 participants