You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tinkerpop.apache.org by "xifenghz (JIRA)" <ji...@apache.org> on 2018/06/06 15:41:00 UTC

[jira] [Created] (TINKERPOP-1981) when execute client.submit(), the gremlin console get blocked infinity in session mode

xifenghz created TINKERPOP-1981:
-----------------------------------

             Summary: 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


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)