错误报告
环境
- EMQX 版本:5.0.8 单节点
- 操作系统版本:win server 2008 r2
重现此问题的步骤
服务器运行,偶发服务崩溃
端口1883改为21883,其它配置未动
实际行为
2022-12-30T19:23:12.223000+08:00 [error] crasher: initial call: memsup:init/1, pid: <0.29073.0>, registered_name: memsup, exit: {{timeout,{gen_server,call,[os_mon_sysinfo,get_mem_info]}},[{gen_server,handle_common_reply,8,[{file,“gen_server.erl”},{line,811}]},{proc_lib,init_p_do_apply,3,[{file,“proc_lib.erl”},{line,226}]}]}, ancestors: [os_mon_sup,<0.1728.0>], message_queue_len: 0, messages: [], links: [<0.1729.0>], dictionary: [], trap_exit: true, status: running, heap_size: 6772, stack_size: 29, reductions: 8183; neighbours:
2022-12-30T19:23:12.223000+08:00 [error] Supervisor: {local,os_mon_sup}. Context: child_terminated. Reason: {timeout,{gen_server,call,[os_mon_sysinfo,get_mem_info]}}. Offender: id=memsup,pid=<0.29073.0>.
2022-12-30T19:23:17.219000+08:00 [error] Generic server memsup terminating. Reason: {timeout,{gen_server,call,[os_mon_sysinfo,get_mem_info]}}. Last message: {‘EXIT’,<0.29079.0>,{timeout,{gen_server,call,[os_mon_sysinfo,get_mem_info]}}}. State: {state,{win32,nt},false,undefined,undefined,false,60000,30000,0.8,0.05,<0.29079.0>,#Ref<0.2776357581.4128768001.257717>,undefined,[{ext,{<0.1851.0>,#Ref<0.2776357581.4128768001.257774>}},reg],[]}.
2022-12-30T19:23:17.219000+08:00 [error] crasher: initial call: memsup:init/1, pid: <0.29078.0>, registered_name: memsup, exit: {{timeout,{gen_server,call,[os_mon_sysinfo,get_mem_info]}},[{gen_server,handle_common_reply,8,[{file,“gen_server.erl”},{line,811}]},{proc_lib,init_p_do_apply,3,[{file,“proc_lib.erl”},{line,226}]}]}, ancestors: [os_mon_sup,<0.1728.0>], message_queue_len: 0, messages: [], links: [<0.1729.0>], dictionary: [], trap_exit: true, status: running, heap_size: 6772, stack_size: 29, reductions: 8183; neighbours:
2022-12-30T19:23:17.220000+08:00 [error] Supervisor: {local,os_mon_sup}. Context: child_terminated. Reason: {timeout,{gen_server,call,[os_mon_sysinfo,get_mem_info]}}. Offender: id=memsup,pid=<0.29078.0>.
2022-12-30T19:23:22.221000+08:00 [error] Generic server memsup terminating. Reason: {timeout,{gen_server,call,[os_mon_sysinfo,get_mem_info]}}. Last message: {‘EXIT’,<0.29082.0>,{timeout,{gen_server,call,[os_mon_sysinfo,get_mem_info]}}}. State: {state,{win32,nt},false,undefined,undefined,false,60000,30000,0.8,0.05,<0.29082.0>,#Ref<0.2776357581.4128768001.257988>,undefined,[{ext,{<0.1851.0>,#Ref<0.2776357581.4128768001.258044>}},reg],[]}.
2022-12-30T19:23:22.221000+08:00 [error] crasher: initial call: memsup:init/1, pid: <0.29081.0>, registered_name: memsup, exit: {{timeout,{gen_server,call,[os_mon_sysinfo,get_mem_info]}},[{gen_server,handle_common_reply,8,[{file,“gen_server.erl”},{line,811}]},{proc_lib,init_p_do_apply,3,[{file,“proc_lib.erl”},{line,226}]}]}, ancestors: [os_mon_sup,<0.1728.0>], message_queue_len: 0, messages: [], links: [<0.1729.0>], dictionary: [], trap_exit: true, status: running, heap_size: 6772, stack_size: 29, reductions: 8183; neighbours:
2022-12-30T19:23:22.228000+08:00 [error] Supervisor: {local,os_mon_sup}. Context: child_terminated. Reason: {timeout,{gen_server,call,[os_mon_sysinfo,get_mem_info]}}. Offender: id=memsup,pid=<0.29081.0>.
2022-12-30T19:23:27.229000+08:00 [error] Generic server memsup terminating. Reason: {timeout,{gen_server,call,[os_mon_sysinfo,get_mem_info]}}. Last message: {‘EXIT’,<0.29086.0>,{timeout,{gen_server,call,[os_mon_sysinfo,get_mem_info]}}}. State: {state,{win32,nt},false,undefined,undefined,false,60000,30000,0.8,0.05,<0.29086.0>,#Ref<0.2776357581.4128768001.258247>,undefined,[{ext,{<0.1851.0>,#Ref<0.2776357581.4128768001.258298>}},reg],[]}.
2022-12-30T19:23:27.229000+08:00 [error] crasher: initial call: memsup:init/1, pid: <0.29085.0>, registered_name: memsup, exit: {{timeout,{gen_server,call,[os_mon_sysinfo,get_mem_info]}},[{gen_server,handle_common_reply,8,[{file,“gen_server.erl”},{line,811}]},{proc_lib,init_p_do_apply,3,[{file,“proc_lib.erl”},{line,226}]}]}, ancestors: [os_mon_sup,<0.1728.0>], message_queue_len: 0, messages: [], links: [<0.1729.0>], dictionary: [], trap_exit: true, status: running, heap_size: 6772, stack_size: 29, reductions: 8183; neighbours:
2022-12-30T19:23:27.229000+08:00 [error] Supervisor: {local,os_mon_sup}. Context: child_terminated. Reason: {timeout,{gen_server,call,[os_mon_sysinfo,get_mem_info]}}. Offender: id=memsup,pid=<0.29085.0>.
2022-12-30T19:23:32.232000+08:00 [error] Generic server memsup terminating. Reason: {timeout,{gen_server,call,[os_mon_sysinfo,get_mem_info]}}. Last message: {‘EXIT’,<0.29089.0>,{timeout,{gen_server,call,[os_mon_sysinfo,get_mem_info]}}}. State: {state,{win32,nt},false,undefined,undefined,false,60000,30000,0.8,0.05,<0.29089.0>,#Ref<0.2776357581.4128768001.258505>,undefined,[{ext,{<0.1851.0>,#Ref<0.2776357581.4128768001.258561>}},reg],[]}.
2022-12-30T19:23:32.232000+08:00 [error] crasher: initial call: memsup:init/1, pid: <0.29088.0>, registered_name: memsup, exit: {{timeout,{gen_server,call,[os_mon_sysinfo,get_mem_info]}},[{gen_server,handle_common_reply,8,[{file,“gen_server.erl”},{line,811}]},{proc_lib,init_p_do_apply,3,[{file,“proc_lib.erl”},{line,226}]}]}, ancestors: [os_mon_sup,<0.1728.0>], message_queue_len: 0, messages: [], links: [<0.1729.0>], dictionary: [], trap_exit: true, status: running, heap_size: 6772, stack_size: 29, reductions: 8183; neighbours:
2022-12-30T19:23:32.233000+08:00 [error] Supervisor: {local,os_mon_sup}. Context: child_terminated. Reason: {timeout,{gen_server,call,[os_mon_sysinfo,get_mem_info]}}. Offender: id=memsup,pid=<0.29088.0>.
2022-12-30T19:23:32.233000+08:00 [error] Supervisor: {local,os_mon_sup}. Context: shutdown. Reason: reached_max_restart_intensity. Offender: id=memsup,pid=<0.29088.0>.
产生dump文件如下,其中包含日志文件和dump文件
log.zip (662.3 KB)