我的 emqttd 服务器经常崩溃,我不知道为什么。这是 error.log 文件的片段:
2018-04-19 10:53:05.215 [error] <0.6456.0> gen_server <0.6456.0> terminated with reason: no match of right hand value {pubrel,76,{1524,127985,200713}} in emqttd_session:acked/3 line 736
2018-04-19 10:53:05.216 [error] <0.6456.0> CRASH REPORT Process <0.6456.0> with 1 neighbours exited with reason: no match of right hand value {pubrel,76,{1524,127985,200713}} in emqttd_session:acked/3 line 736 in gen_server2:terminate/3 line 1157
2018-04-19 10:53:05.216 [error] <0.1107.0> Supervisor emqttd_session_sup had child session started with {emqttd_session,start_link,undefined} at <0.6456.0> exit with reason no match of right hand value {pubrel,76,{1524,127985,200713}} in emqttd_session:acked/3 line 736 in context child_terminated
2018-04-19 10:53:05.216 [error] <0.1150.0> Supervisor 'esockd_connection_sup - <0.1150.0>' had child connection started with emqttd_client:start_link([{client_idle_timeout,30000},{client_enable_stats,false},{max_clientid_len,1024},{max_packet_size,...}]) at <0.6458.0> exit with reason no match of right hand value {pubrel,76,{1524,127985,200713}} in emqttd_session:acked/3 line 736 in context connection_crashed
机器上的网络似乎很好。
以下是 erlang.log 中似乎相关的一些行:
07:33:17.024 [critical] Mnesia overload: {dump_log,write_threshold}
07:33:17.024 [error] Unexpected Info: {mnesia_system_event,{mnesia_overload,{dump_log,write_threshold}}}
07:34:49.954 [error] gen_server <0.32644.1437> terminated with reason: no match of right hand value {pubrel,16,{1524,116089,953795}} in emqttd_session:acked/3 line 736
07:34:49.955 [error] CRASH REPORT Process <0.32644.1437> with 1 neighbours exited with reason: no match of right hand value {pubrel,16,{1524,116089,953795}} in emqttd_session:acked/3 line 736 in gen_server2:terminate/3 line 1157
谁能告诉我这些错误信息是什么意思?如果我需要发布其他日志数据或配置详细信息,我可以。
编辑:免费 -mh 输出和 htop 输出
total used free shared buff/cache available
Mem: 7.8G 203M 5.9G 80M 1.7G 7.2G
Swap: 509M 36M 473M