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

Inflight requests leak when gRPC executor rejects tasks #190

Open
parveensaini opened this issue Nov 2, 2023 · 2 comments
Open

Inflight requests leak when gRPC executor rejects tasks #190

parveensaini opened this issue Nov 2, 2023 · 2 comments

Comments

@parveensaini
Copy link

Hi Team - is there a resource leak issue with the concurrent interceptor? I am trying it for a java application and the qps just dies after sometime. Is it a know issue?

@parveensaini
Copy link
Author

Just to close this thread, the resource leak was resulting from grpc-java behavior where it drops the response in case grpc executor queue is full. When the response is dropped, grpc stack doesn't ensure any callback/notification which can be intercepted and the initial concurrent interceptor resource like semaphore used by request gets leaked. The solution is to keep executor queue big enough to prevent the behavior.
grpc-java issue grpc/grpc-java#636

@fedorka
Copy link
Contributor

fedorka commented Feb 12, 2024

Thanks for the update, @parveensaini 🙂

@fedorka fedorka changed the title Resource leak with interceptor Inflight requests leak when gRPC executor rejects tasks Feb 12, 2024
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

2 participants