You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tinkerpop.apache.org by "Florian Hockmann (JIRA)" <ji...@apache.org> on 2019/03/14 16:04:00 UTC

[jira] [Closed] (TINKERPOP-2148) "no connection available!" is being thrown despite lots of free connections

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

Florian Hockmann closed TINKERPOP-2148.
---------------------------------------
       Resolution: Fixed
    Fix Version/s: 3.4.1

> "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
>            Assignee: Florian Hockmann
>            Priority: Minor
>             Fix For: 3.4.1
>
>
> 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)