emqx版本为5.0.26
emqx操作系统:CentOS 7.9 64位
今天的凌晨1点到1点半左右,客户端大量设备与mqtt服务器断连,登陆设备发现网络并无异常,查询mqtt日志如下,麻烦帮忙看下是原因引起,如何排查是设备端的原因还是服务端的原因。
mqtt报错日志:
2023-10-12T01:08:55.857827+08:00 [warning] msg: session_stepdown_request_timeout, mfa: emqx_cm:request_stepdown/3, line: 495, action: discard, stale_channel: [{status,waiting},{message_queue_len,1},{current_stacktrace,[{emqx_resource_buffer_worker,pick_call,4,[{file,“emqx_resource_buffer_worker.erl”},{line,315}]},{emqx_rule_runtime,do_handle_action,3,[{file,“emqx_rule_runtime.erl”},{line,353}]},{emqx_rule_runtime,handle_action,4,[{file,“emqx_rule_runtime.erl”},{line,329}]},{emqx_rule_runtime,‘-handle_action_list/4-lc$^0/1-0-’,4,[{file,“emqx_rule_runtime.erl”},{line,324}]},{emqx_rule_runtime,do_apply_rule,3,[{file,“emqx_rule_runtime.erl”},{line,183}]},{emqx_rule_runtime,apply_rule,3,[{file,“emqx_rule_runtime.erl”},{line,75}]},{emqx_rule_runtime,apply_rule_discard_result,3,[{file,“emqx_rule_runtime.erl”},{line,68}]},{emqx_rule_runtime,apply_rules,3,[{file,“emqx_rule_runtime.erl”},{line,64}]},{emqx_hooks,safe_execute,2,[{file,“emqx_hooks.erl”},{line,200}]},{emqx_hooks,do_run,2,[{file,“emqx_hooks.erl”},{line,167}]},{emqx_channel,ensure_disconnected,2,[{file,“emqx_channel.erl”},{line,2184}]},{emqx_channel,handle_info,2,[{file,“emqx_channel.erl”},{line,1263}]},{emqx_connection,with_channel,3,[{file,“emqx_connection.erl”},{line,833}]},{emqx_connection,process_msg,2,[{file,“emqx_connection.erl”},{line,485}]},{emqx_connection,handle_recv,3,[{file,“emqx_connection.erl”},{line,447}]},{proc_lib,wake_up,3,[{file,“proc_lib.erl”},{line,236}]}]}], stale_pid: <56269.11883.6995>
您好。可以上传一下完整的emqx日志吗?谢谢。