[ 
https://issues.apache.org/jira/browse/TINKERPOP-2148?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Zaoshi updated TINKERPOP-2148:
------------------------------
    Description: 
I am submitting multiple graph queries in parallel but in some cases it starts 
throwing this exception:
{{ Gremlin.Net.Driver.Exceptions.NoConnectionAvailableException : no connection 
available!}}
{{  at Gremlin.Net.Driver.ConnectionPool.GetAvailableConnectionAsync()}}
{{  at Gremlin.Net.Driver.GremlinClient.SubmitAsync[T](RequestMessage 
requestMessage)}}

When GremlinClient is initialized with \{PoolSize = 1, 
MaxInProcessPerConnection = 8} everything works fine, however, with \{PoolSize 
= 8, MaxInProcessPerConnection = 1} it starts throwing those exceptions even 
though this connection pool should have same throughput. I have tried to 
increase pool to \{PoolSize = 128, MaxInProcessPerConnection = 1} but 
GremlinClient started to fail even more.

  was:
I am submitting multiple graph queries in parallel but in some cases it starts 
throwing this exception:
{{ Gremlin.Net.Driver.Exceptions.NoConnectionAvailableException : no connection 
available! }}
{{   at Gremlin.Net.Driver.ConnectionPool.GetAvailableConnectionAsync() }}
{{   at Gremlin.Net.Driver.GremlinClient.SubmitAsync[T](RequestMessage 
requestMessage) }}

When GremlinClient is initialized with \{PoolSize = 1, 
MaxInProcessPerConnection = 8} everything works fine, however, with \{PoolSize 
= 8, MaxInProcessPerConnection = 1} it starts throwing those exceptions even 
though this connection pool should have same throughput. I have tried to 
increase pool to \{PoolSize = 128, MaxInProcessPerConnection = 1} but 
GremlinClient started to fail even more.


> "no connection available!" is being thrown despite lots of free connections
> ---------------------------------------------------------------------------
>
>                 Key: TINKERPOP-2148
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP-2148
>             Project: TinkerPop
>          Issue Type: Bug
>          Components: dotnet
>    Affects Versions: 3.4.0
>         Environment: Windows 10, C#, .NET Core, CosmosDB Graph
>            Reporter: Zaoshi
>            Priority: Minor
>
> I am submitting multiple graph queries in parallel but in some cases it 
> starts throwing this exception:
> {{ Gremlin.Net.Driver.Exceptions.NoConnectionAvailableException : no 
> connection available!}}
> {{  at Gremlin.Net.Driver.ConnectionPool.GetAvailableConnectionAsync()}}
> {{  at Gremlin.Net.Driver.GremlinClient.SubmitAsync[T](RequestMessage 
> requestMessage)}}
> When GremlinClient is initialized with \{PoolSize = 1, 
> MaxInProcessPerConnection = 8} everything works fine, however, with 
> \{PoolSize = 8, MaxInProcessPerConnection = 1} it starts throwing those 
> exceptions even though this connection pool should have same throughput. I 
> have tried to increase pool to \{PoolSize = 128, MaxInProcessPerConnection = 
> 1} but GremlinClient started to fail even more.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to