EMQX 退出了

[error] ** Generic server memsup terminating
** Last message in was {‘EXIT’,<0.4522.16>,
{timeout,
{gen_server,call,
[os_mon_sysinfo,get_mem_info]}}}
** When Server state == [{data,[{“Timeout”,60000}]},
{items,{“Memory Usage”,
[{“Allocated”,1628549120},
{“Total”,4294430720}]}},
{items,{“Worst Memory User”,
[{“Pid”,<0.146.0>},{“Memory”,602072}]}}]
** Reason for termination ==
** {timeout,{gen_server,call,[os_mon_sysinfo,get_mem_info]}}

2023-04-14 03:20:50.177 [error] crasher:
initial call: memsup:init/1
pid: <0.4156.16>
registered_name: memsup
exception exit: {timeout,{gen_server,call,[os_mon_sysinfo,get_mem_info]}}
in function gen_server:handle_common_reply/8 (gen_server.erl, line 751)
ancestors: [os_mon_sup,<0.155.0>]
message_queue_len: 0
messages: []
links: [<0.156.0>]
dictionary: []
trap_exit: true
status: running
heap_size: 4185
stack_size: 27
reductions: 273004
neighbours:

2023-04-14 03:20:50.177 [error] supervisor: {local,os_mon_sup}
errorContext: child_terminated
reason: {timeout,{gen_server,call,[os_mon_sysinfo,get_mem_info]}}
offender: [{pid,<0.4156.16>},
{id,memsup},
{mfargs,{memsup,start_link,[]}},
{restart_type,permanent},
{shutdown,2000},
{child_type,worker}]
2023-04-14 03:20:50.178 [error] supervisor: {local,os_mon_sup}
errorContext: shutdown
reason: reached_max_restart_intensity
offender: [{pid,<0.4156.16>},
{id,memsup},
{mfargs,{memsup,start_link,[]}},
{restart_type,permanent},
{shutdown,2000},
{child_type,worker}]

是 windows 版本吗?猜测是由于没有权限拿到系统信息(可能无法执行 win32sysinfo.exe)。

windows2008 server版

一般什么情况下会出类似的问题
有什么方式能够避免

在 Windows 上奇奇怪怪的问题很多,另外也有一些功能限制,例如 jq 函数,quic 支持等等
建议更换成 Docker 部署。