Star

storaged超时导致Get neighbors failed?

  • 这边发现,部分请求会导致客户端产生"ErrorCode: E_EXECUTION_ERROR, ErrorMsg: Get neighbors failed"错误信息

  • 服务端的graphd有timeout等信息,如下:

E1123 16:46:49.408191 66287 StorageClient.inl:123] Request to [192.168.41.21:40500] failed: N6apache6thrift9transport19TTransportExceptionE: Timed Out
I1123 16:46:49.408372 66263 FetchVerticesExecutor.cpp:339] Get vertices partially failed: 50%
E1123 16:46:49.408406 66263 FetchVerticesExecutor.cpp:341] part: 4error code: -3
E1123 16:46:50.812355 66289 StorageClient.inl:123] Request to [192.168.41.21:40500] failed: N6apache6thrift9transport19TTransportExceptionE: Timed Out
I1123 16:46:50.812536 66263 FetchVerticesExecutor.cpp:339] Get vertices partially failed: 50%
E1123 16:46:50.812572 66263 FetchVerticesExecutor.cpp:341] part: 1error code: -3
E1123 16:46:50.812597 66263 FetchVerticesExecutor.cpp:341] part: 4error code: -3
E1123 16:47:06.248457 66158 StorageClient.inl:123] Request to [192.168.41.21:40500] failed: N6apache6thrift9transport19TTransportExceptionE: Timed Out
I1123 16:47:06.248628 66263 GoExecutor.cpp:552] Get neighbors partially failed: 66%
E1123 16:47:06.248657 66263 GoExecutor.cpp:554] part: 1error code: -3
E1123 16:47:06.248687 66263 GoExecutor.cpp:554] part: 4error code: -3
  • 想请问一下,这个是由于storaged处理超时导致的吗?是否有参数能调大这个超时时间?

graphd向storaged请求的超时时间是一分钟,你可以在graphd的配置文件里面增加, 修改完配置文件需要重启graphd服务

--storage_client_timeout_ms=120

好的,确实有效。
我应该先看看–help的参数介绍再来问的,打扰。

浙ICP备20010487号