Skip to content

MemoryPool in SocketConnectionListener leaks after high load #28560

Closed
@zackliu

Description

@zackliu

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    ✔️ Resolution: DuplicateResolved as a duplicate of another issueStatus: Resolvedarea-networkingIncludes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractions

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions