-
Notifications
You must be signed in to change notification settings - Fork 60
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
Connection leak with Cosmos DB client SDK #382
Comments
on v2 sdk, PoolExhaustedException does not indicate a leak. it indicates the number of concurrent requests to GW is more than the configured SDK connection pool-size. You are on a very old generation of the SDK (v2). our long term recommendation is to move to V4 SDK, where this limitation does not exist: as remedy for particular PoolExhaustedException issue, please note on v2 SDK, If load from SDK to GW is high and if connectionPool size is not big enough you may run into PoolExhaustedException. The following should help to address the issue:
please see the recommendation on direct mode configuration:
|
Thank you so much for the prompt response |
PoolExhaustedException occurred actually from the connection when it tries to get a cosmos db connection from the pool while available memory's decreasing. Apparently it looks like connection leakage
Async SDK For SQL API of Azure Cosmos DB Service - 2.6.13
Spring Boot - 2.1.6
Java 11
It sounds like the situation looks similar to this
ReactiveX/RxNetty#611
The text was updated successfully, but these errors were encountered: