You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tinkerpop.apache.org by "stephen mallette (JIRA)" <ji...@apache.org> on 2018/06/06 15:57:00 UTC
[jira] [Commented] (TINKERPOP-1981) when execute client.submit(),
the gremlin console get blocked infinity in session mode
[ https://issues.apache.org/jira/browse/TINKERPOP-1981?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16503491#comment-16503491 ]
stephen mallette commented on TINKERPOP-1981:
---------------------------------------------
I'm not so sure that this is a bug. I assume that the connections in netstat show that those connections are in "TIME WAIT" status?
> when execute client.submit(), the gremlin console get blocked infinity in session mode
> --------------------------------------------------------------------------------------
>
> Key: TINKERPOP-1981
> URL: https://issues.apache.org/jira/browse/TINKERPOP-1981
> Project: TinkerPop
> Issue Type: Bug
> Components: server
> Affects Versions: 3.3.0
> Reporter: xifenghz
> Priority: Major
>
> After sending many gremlin scripts such as "graph = XXXGraph.open()" to gremlin server.Here the XXXGraph is our self-defined plugin,a new request from gremlin console to gremlin server blocked.Below is the detail:
> gremlin> cluster = Cluster.build(file).serializer(Serializers.GRAPHSON_V3D0).maxContentLength(MAX_CONTENT_LENGTH).maxWaitForConnection(300000).minConnectionPoolSize(2000).maxConnectionPoolSize(2000).create();
> ==>/XX.XX.XX.XX:8182
> gremlin> client = cluster.connect(sessionId);
> {color:#FF0000}gremlin> future = client.submit("[1,2,3,4]"){color}
> The above command blocked.
> netstat command shows the gremlin server has received the request,but the TCP connection stays in established forever!
> Any help will be appreciated!!!
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)