patrice huot created TINKERPOP-2288:
---------------------------------------

             Summary: Get ConnectionPoolBusyException and then 
ServerUnavailableExceptions
                 Key: TINKERPOP-2288
                 URL: https://issues.apache.org/jira/browse/TINKERPOP-2288
             Project: TinkerPop
          Issue Type: Bug
          Components: dotnet
    Affects Versions: 3.4.3
         Environment: Gremlin.Net 3.4.3
Microsoft.NetCore.App 2.2
Azure Cosmos DB
            Reporter: patrice huot


I am using .Net core Gremlin API  query Cosmos DB.

>From time to time we are getting the error where no connection is available 
>and then, the server become unavailable. When this is occurring we need to 
>restart the server. It looks like the connection are not released properly and 
>become unavailable forever.

We have configured the pool size to 50 and the MaxInProcessPerConnection to 32. 
Which should be sufficient.

To Diagnose the issue, Is there a way to have diagnostic information on the 
connection Pool to know how many connection are open and how many process are 
running in each connections?

I would like to be able to monitor the connection usage to see if they are 
about to be exhausted and to see if the number of used connection is always 
increasing or of the connection lease is release when done with it?

As a work around, Is there a way we can access this information in the code so 
that I can catch those scenario and have code that re-initiate the connection 
pool?

 

 



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

Reply via email to