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

SignalR with Redis Backplane Memory leak when connection to Redis is unavailable. #4673

Open
Br4v3St4rr opened this issue May 3, 2023 · 0 comments

Comments

@Br4v3St4rr
Copy link

Br4v3St4rr commented May 3, 2023

Issues related to the Asp.NET Core version of SignalR should be filed in the AspNetCore repo:

When the server running SignalR with a Redis backplane cannot connect to a portion of the Redis sentinel cluster SignalR repeatedly tries to connect causing a memory leak.

StackExchangeRedis - 2.6.104
Microsoft.AspNet.SignalR.StackExchangeRedis - 2.4.3

The service retries every 2 seconds in deffinatly, the leak seems to be somewhere in the ConnectToRedisAsync method.

Expected behavior

No memory leak...

Actual behavior

Leaks like a sieve..

Steps to reproduce

Break the connection between Redis and the webserver and watch the memory consumption climb....

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant