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

[jira] [Comment Edited] (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:comment-tabpanel&focusedCommentId=16784609#comment-16784609 ] 

Zaoshi edited comment on TINKERPOP-2148 at 3/5/19 4:10 PM:
-----------------------------------------------------------

I have never done a pull request to an open source project. Most likely it would take me a lot time to get everything right (especially on Windows). Considering the time constraints I believe it would be better if someone more experienced handles this. Although thanks for the offer!


was (Author: zaoshi):
I have never done a pull request to an open source project. Most likely it would take me a lot time to get everything right (especially on Windows). Considering the time constraints I believe it would be better if someone more experienced handles this.

> "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)