emqx意外停止

环境

  • EMQX 版本:4.2.0
  • 操作系统版本:

Error in process <0.9729.0> on node ‘emqx@127.0.0.1’ with exit value:, {badarg,[{ets,match_object,[emqx_resource,‘_’],},{ets,tab2list,1,[{file,“ets.erl”},{line,765}]},{emqx_rule_engine,refresh_resource_status,0,[{file,“emqx_rule_engine.erl”},{line,420}]}]}
2024-11-14T13:12:12.639316+08:00 [warning] [SYSMON] large_heap warning: pid = <0.1457.0>, info: [{old_heap_block_size,196650}, {heap_block_size,28690}, {mbuf_size,0}, {stack_size,28}, {old_heap_size,4983}, {heap_size,2466}], [{proc_lib_initial_call,{application_controller,start,[‘Argument__1’]}},{memory,1804372},{total_heap_size,225340},{heap_size,28690},{stack_size,8},{min_heap_size,233},{initial_call,{erlang,apply,2}},{current_stacktrace,[{gen_server,loop,7,[{file,“gen_server.erl”},{line,437}]}]},{registered_name,application_controller},{status,waiting},{message_queue_len,0},{group_leader,<0.1484.0>},{priority,normal},{trap_exit,true},{reductions,102116},{last_calls,false},{catchlevel,0},{trace,0},{suspending,},{sequential_trace_token,},{error_handler,error_handler}]

帮忙分析一下原因

这个日志看不出来什么具体的原因。老版本在启动失败时经常都返回这个crash。

PS: 4.2.0 已经停止维护了。可以考虑尽快迁移到 5.x 了哈。