hugegraph-hubble icon indicating copy to clipboard operation
hugegraph-hubble copied to clipboard

[Question] 查询超过30S失败的问题如何解决

Open cowcomic opened this issue 4 years ago • 4 comments

Problem Type (问题类型)

No response

Before submit

Environment (环境信息)

  • Server Version: v0.11.2
  • Hubble Version: v1.5.0
  • Data Size: 600W vertices, 2000W edges

Your Question (问题描述)

使用hubble查询超过30s就会失败,这个时间怎么调整 尝试调整app中的一些timeout配置,都不起作用

Vertex/Edge example (问题点 / 边数据举例)

No response

Schema [VertexLabel, EdgeLabel, IndexLabel] (元数据结构)

No response

cowcomic avatar Oct 22 '21 07:10 cowcomic

我也碰见了这个问题,在hugegraph的rest-server.properties里我设置了restserver.request_timeout=1800 gremlinserver.timeout=1800,hubble的反应时间只延长到1min,不知道是为什么

duishuhaoqi avatar Oct 29 '21 04:10 duishuhaoqi

我也碰见了这个问题,在hugegraph的rest-server.properties里我设置了restserver.request_timeout=1800 gremlinserver.timeout=1800,hubble的反应时间只延长到1min,不知道是为什么

我们把这两个参数加上了,也没用 T T 可能是其他的参数影响的吧

cowcomic avatar Nov 02 '21 07:11 cowcomic

请求超时参数涉及到3个:

  1. scriptEvaluationTimeout:gremlin-server的超时。(gremlin-server.yaml)
  2. restserver.request_timeout:rest-server的超时。(rest-server.properties)
  3. gremlinserver.timeout:rest-server连接gremlin-server的超时。(rest-server.properties)

参考: https://hugegraph.github.io/hugegraph-doc/config/config-option.html

javeme avatar Feb 16 '22 07:02 javeme

我也碰见了这个问题,在hugegraph的rest-server.properties里我设置了restserver.request_timeout=1800 gremlinserver.timeout=1800,hubble的反应时间只延长到1min,不知道是为什么

请问解决了吗,我按照下面作者配置了三个地方的参数,还是只延长到了1min

Zhang88665 avatar Dec 19 '23 01:12 Zhang88665