我设置了完整的riak系统。但是它有一个问题,当我使用s3cmd通过s3cmd la列出存储桶时,它显示得非常慢。
我使用Riak 1.4.10组合Riak-cs 1.5.0,这个日志摘录自Riak-cs log (/var/ log /riak-cs/error.log),如下所示:
2014-12-17 23:54:52.586 [error] <0.18590.89> CRASH REPORT Process <0.18590.89> with 0 neighbours exited with reason: no such process or port in call to gen_server:call(<0.6047.89>, {req,{rpbgetreq,<<48,98,58,14,235,1,111,70,12,63,166,79,50,217,158,89,177,58,143>>,<<203,229,11,...>>,...},...}, infinity) in gen_server:terminate/6 line 747
2014-12-17 23:55:18.409 [error] <0.20755.89> gen_server <0.20755.89> terminated with reason: no such process or port in call to gen_server:call(<0.14402.89>, block_pbc)
2014-12-17 23:55:18.409 [error] <0.20755.89> CRASH REPORT Process <0.20755.89> with 0 neighbours exited with reason: no such process or port in call to gen_server:call(<0.14402.89>, block_pbc) in gen_server:terminate/6 line 747
2014-12-17 23:55:20.737 [error] <0.21075.89> gen_server <0.21075.89> terminated with reason: no such process or port in call to gen_server:call(<0.14690.89>, block_pbc)
2014-12-17 23:55:20.737 [error] <0.21075.89> CRASH REPORT Process <0.21075.89> with 0 neighbours exited with reason: no such process or port in call to gen_server:call(<0.14690.89>, block_pbc) in gen_server:terminate/6 line 747
2014-12-17 23:56:08.816 [error] <0.24106.89> gen_server <0.24106.89> terminated with reason: no such process or port in call to gen_server:call(<0.17691.89>, block_pbc)
2014-12-17 23:56:08.816 [error] <0.24106.89> CRASH REPORT Process <0.24106.89> with 0 neighbours exited with reason: no such process or port in call to gen_server:call(<0.17691.89>, block_pbc) in gen_server:terminate/6 line 747
2014-12-17 23:56:22.985 [error] <0.25880.89> gen_server <0.25880.89> terminated with reason: no such process or port in call to gen_server:call(<0.13391.89>, {req,{rpbgetreq,<<48,98,58,14,235,1,111,70,12,63,166,79,50,217,158,89,177,58,143>>,<<0,105,226,...>>,...},...}, infinity)
2014-12-17 23:56:22.985 [error] <0.25880.89> CRASH REPORT Process <0.25880.89> with 0 neighbours exited with reason: no such process or port in call to gen_server:call(<0.13391.89>, {req,{rpbgetreq,<<48,98,58,14,235,1,111,70,12,63,166,79,50,217,158,89,177,58,143>>,<<0,105,226,...>>,...},...}, infinity) in gen_server:terminate/6 line 747
2014-12-17 23:57:50.034 [error] <0.31483.89> gen_server <0.31483.89> terminated with reason: no such process or port in call to gen_server:call(<0.25032.89>, block_pbc)
2014-12-17 23:57:50.034 [error] <0.31483.89> CRASH REPORT Process <0.31483.89> with 0 neighbours exited with reason: no such process or port in call to gen_server:call(<0.25032.89>, block_pbc) in gen_server:terminate/6 line 747
2014-12-17 23:57:55.988 [error] <0.31644.89> gen_server <0.31644.89> terminated with reason: no such process or port in call to gen_server:call(<0.25207.89>, block_pbc)
2014-12-17 23:57:55.988 [error] <0.31644.89> CRASH REPORT Process <0.31644.89> with 0 neighbours exited with reason: no such process or port in call to gen_server:call(<0.25207.89>, block_pbc) in gen_server:terminate/6 line 747
2014-12-17 23:58:24.909 [error] <0.1078.90> gen_server <0.1078.90> terminated with reason: no such process or port in call to gen_server:call(<0.27321.89>, block_pbc)
2014-12-17 23:58:24.910 [error] <0.1078.90> CRASH REPORT Process <0.1078.90> with 0 neighbours exited with reason: no such process or port in call to gen_server:call(<0.27321.89>, block_pbc) in gen_server:terminate/6 line 747
2014-12-17 23:58:51.765 [error] <0.3998.90> gen_server <0.3998.90> terminated with reason: no such process or port in call to gen_server:call(<0.29222.89>, block_pbc)
2014-12-17 23:58:51.766 [error] <0.3998.90> CRASH REPORT Process <0.3998.90> with 0 neighbours exited with reason: no such process or port in call to gen_server:call(<0.29222.89>, block_pbc) in gen_server:terminate/6 line 747
2014-12-17 23:59:06.018 [error] <0.5059.90> gen_server <0.5059.90> terminated with reason: no such process or port in call to gen_server:call(<0.30266.89>, block_pbc)
2014-12-17 23:59:06.018 [error] <0.5059.90> CRASH REPORT Process <0.5059.90> with 0 neighbours exited with reason: no such process or port in call to gen_server:call(<0.30266.89>, block_pbc) in gen_server:terminate/6 line 747
2014-12-17 23:59:29.631 [error] <0.6502.90> gen_server <0.6502.90> terminated with reason: no such process or port in call to gen_server:call(<0.31681.89>, block_pbc)
2014-12-17 23:59:29.631 [error] <0.6502.90> CRASH REPORT Process <0.6502.90> with 0 neighbours exited with reason: no such process or port in call to gen_server:call(<0.31681.89>, block_pbc) in gen_server:terminate/6 line 747来自/var/log/riak-cs/console.log
2014-12-15 12:31:46.189 [error] <0.28550.18> gen_server <0.28550.18> terminated with reason: no such process or port in call to gen_server:call(<0.17445.18>, block_pbc)
2014-12-15 12:31:46.190 [error] <0.28550.18> CRASH REPORT Process <0.28550.18> with 0 neighbours exited with reason: no such process or port in call to gen_server:call(<0.17445.18>, block_pbc) in gen_server:terminate/6 line 747
2014-12-15 12:34:54.486 [error] <0.2349.19> gen_server <0.2349.19> terminated with reason: no such process or port in call to gen_server:call(<0.27112.18>, block_pbc)
2014-12-15 12:34:54.487 [error] <0.2349.19> CRASH REPORT Process <0.2349.19> with 0 neighbours exited with reason: no such process or port in call to gen_server:call(<0.27112.18>, block_pbc) in gen_server:terminate/6 line 747
2014-12-15 12:35:24.624 [error] <0.4154.19> gen_server <0.4154.19> terminated with reason: no such process or port in call to gen_server:call(<0.29025.18>, block_pbc)
2014-12-15 12:35:24.625 [error] <0.4154.19> CRASH REPORT Process <0.4154.19> with 0 neighbours exited with reason: no such process or port in call to gen_server:call(<0.29025.18>, block_pbc) in gen_server:terminate/6 line 747
2014-12-15 12:35:39.917 [error] <0.4649.19> gen_server <0.4649.19> terminated with reason: no such process or port in call to gen_server:call(<0.29489.18>, block_pbc)
2014-12-15 12:35:39.917 [error] <0.4649.19> CRASH REPORT Process <0.4649.19> with 0 neighbours exited with reason: no such process or port in call to gen_server:call(<0.29489.18>, block_pbc) in gen_server:terminate/6 line 747
2014-12-15 12:43:26.349 [error] <0.21992.19> gen_server <0.21992.19> terminated with reason: no such process or port in call to gen_server:call(<0.15354.19>, block_pbc)有什么帮助吗?
干杯,
Nghiep
发布于 2014-12-19 01:27:38
您的日志显示了两种失败的函数调用类型:
gen_server:call(<0.6047.89>, {req,{rpbgetreq,<<48,98,58,14,235,1,111,70,12,63,166,79,50,217,158,89,177,58,143>>,<<203,229,11,...>>,...},...}, infinity)和
gen_server:call(<0.14690.89>, block_pbc)第一个是从riakc_pb_socket:call_infinity调用的、从riakc_pb_socket:get调用的文档的特定数据块的get请求。在本例中,进程ID <0.6047.89>应该引用已经启动的riakc_pb_socket gen_server。
第二个是检查到底层Riak集群的协议缓冲区连接的请求,从riak_cs_riak_client:block_pbc调用,它从riak_cs_block_server中的多个地方调用。在本例中,进程ID <0.14690.89>应该引用一个已经启动的riak_cs_riak_client gen_server,它将有一个riakc_pb_socket gen_servers池来处理请求。
在这两种情况下,错误no such process or port都指示服务器出现故障、停止或以其他方式消失。最常见的原因是从Riak CS到Riak协议缓冲区端口的连接中断。
如果您确定您的连接是可靠的,您可以尝试打开log level,看看它是否会告诉您这些gen_servers发生了什么。
https://stackoverflow.com/questions/27461397
复制相似问题