-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Ticker leak in weighted round robin picker creation #6642
Comments
Thanks to @HippoBaro for discovering this problem and the initial investigation. I think the bug is just that this ticker: grpc-go/balancer/weightedroundrobin/balancer.go Lines 370 to 379 in 61a1f77
|
I hate the |
Yes, ideally there should be a vet rule for this. |
Fixed by #6643. |
What version of gRPC are you using?
1.57 (I believe the bug is still present on master)
What version of Go are you using (
go version
)?1.21.0
What operating system (Linux, Windows, …) and version?
Linux
What did you do?
I am using the
weighted_round_robin
balancer via service config.I have servers set with MaxConnectionAge to 5 minutes as to force DNS re-resolultion per #1663 (comment).
What did you expect to see?
CPU and memory usage stays constant.
What did you see instead?
The CPU usage and memory used by the application keeps growing.
The text was updated successfully, but these errors were encountered: