环境信息
- EMQX 版本: 5.0.0
- 操作系统及版本:Ubuntu 18.04
- 其他 arm64
问题描述
emqx运行启动失败。
这个提示内存不足了,可以看看你机器的内存什么情况。
然后麻烦运行:
env DEBUG=1 ./bin/emqx console 看看debug输出什么
对了,还有你下载的包全称是叫什么,麻烦也提供一下
root@firefly:~/emqx# env DEBUG=1 ./bin/emqx console
++++ readlink ./bin/emqx
++++ echo ./bin/emqx
+++ dirname ./bin/emqx
++ cd ./bin/…
++ pwd -P
RUNNER_ROOT_DIR=/root/emqx
. /root/emqx/releases/emqx_vars
++ REL_VSN=5.0.0
++ ERTS_VSN=12.2.1
++ ERL_OPTS=
++ RUNNER_BIN_DIR=/root/emqx/bin
++ RUNNER_LOG_DIR=/root/emqx/log
++ RUNNER_LIB_DIR=/root/emqx/lib
++ EMQX_ETC_DIR=/root/emqx/etc
++ RUNNER_USER=
++ IS_ELIXIR=no
++ SCHEMA_MOD=emqx_conf_schema
++ IS_ENTERPRISE=no
++ export EMQX_DESCRIPTION=EMQX
++ EMQX_DESCRIPTION=EMQX
++ REL_NAME=emqx
export RUNNER_ROOT_DIR
export EMQX_ETC_DIR
export REL_VSN
export SCHEMA_MOD
RUNNER_SCRIPT=/root/emqx/bin/emqx
CODE_LOADING_MODE=embedded
REL_DIR=/root/emqx/releases/5.0.0
++ whoami
WHOAMI=root
mkdir -p /root/emqx/log
export HOCON_ENV_OVERRIDE_PREFIX=EMQX_
HOCON_ENV_OVERRIDE_PREFIX=EMQX_
export ERTS_DIR=/root/emqx/erts-12.2.1
ERTS_DIR=/root/emqx/erts-12.2.1
export BINDIR=/root/emqx/erts-12.2.1/bin
BINDIR=/root/emqx/erts-12.2.1/bin
export EMU=beam
EMU=beam
export PROGNAME=erl
PROGNAME=erl
export ERTS_LIB_DIR=/root/emqx/lib
ERTS_LIB_DIR=/root/emqx/lib
DYNLIBS_DIR=/root/emqx/dynlibs
COMMAND=console
‘[’ -z console ‘]’
‘[’ console = help ‘]’
‘[’ ‘’ = help ‘]’
case “${COMMAND}” in
IS_BOOT_COMMAND=yes
‘[’ -d /root/emqx/erts-12.2.1/lib ‘]’
check_user console
‘[’ ‘’ ‘]’
ES=0
‘[’ 0 -ne 0 ‘]’
COMPATIBILITY_CHECK=’
io:format(“BEAM_OK~n”, []),
try
[|] = L = crypto:info_lib(),
io:format(“CRYPTO_OK ~0p~n”, [L])
catch
_ : _ →
%% so logger has the chance to log something
timer:sleep(100),
halt(1)
end,
try
mnesia_hook:module_info(),
io:format(“MNESIA_OK~n”, [])
catch
_ : _ →
io:format(“WARNING: Mnesia app has no post-coommit hook support~n”, []),
halt(2)
end,
halt(0).
’
‘[’ yes = yes ‘]’
++ cat /root/emqx/releases/5.0.0/BUILD_INFO
BUILD_INFO=‘arch: “aarch64-unknown-linux-gnu”
wordsize: 64
os: “ubuntu18.04”
erlang: “24.2.1-1”
elixir: “none”
relform: “tgz”’
++ compatiblity_info
COMPATIBILITY_INFO=‘BEAM_OK
CRYPTO_OK [{<<“OpenSSL”>>,269488143,<<“OpenSSL 1.1.1 11 Sep 2018”>>}]
MNESIA_OK’
echo -e ‘BEAM_OK
CRYPTO_OK [{<<“OpenSSL”>>,269488143,<<“OpenSSL 1.1.1 11 Sep 2018”>>}]
MNESIA_OK’
grep -q CRYPTO_OK
‘[’ 1 -eq 1 ‘]’
set -x
NO_EPMD=’-start_epmd false -epmd_module ekka_epmd -proto_dist ekka’
EPMD_ARGS=’-start_epmd false -epmd_module ekka_epmd -proto_dist ekka’
++ ulimit -n
ULIMIT_F=1024
‘[’ 1024 -lt 1024 ‘]’
SED_REPLACE='sed -i ’
case $(sed --help 2>&1) in
++ sed --help
SED_REPLACE='sed -i ’
CONF_KEYS=(‘node.data_dir’ ‘node.name’ ‘node.cookie’ ‘node.db_backend’)
‘[’ no = yes ‘]’
‘[’ yes = yes ‘]’
‘[’ ‘’ = ‘’ ‘]’
++ call_hocon -s emqx_conf_schema -c /root/emqx/etc/emqx.conf multi_get node.data_dir node.name node.cookie node.db_backend
++ call_nodetool hocon -s emqx_conf_schema -c /root/emqx/etc/emqx.conf multi_get node.data_dir node.name node.cookie node.db_backend
++ /root/emqx/erts-12.2.1/bin/escript /root/emqx/bin/nodetool hocon -s emqx_conf_schema -c /root/emqx/etc/emqx.conf multi_get node.data_dir node.name node.cookie node.db_backend
[debug]: ConfFiles: {["/root/emqx/etc/emqx.conf"],[]}
EMQX_BOOT_CONFIGS=‘node.data_dir=“data”
node.name="emqx@127.0.0.1"
node.cookie=“emqxsecretcookie”
node.db_backend=rlog’
export EMQX_BOOT_CONFIGS
++ get_boot_config node.data_dir
++ path_to_value=node.data_dir
++ echo -e ‘node.data_dir=“data”
node.name="emqx@127.0.0.1"
node.cookie=“emqxsecretcookie”
++ grep node.data_dir=
++ sed -e s/node.data_dir=//g
node.db_backend=rlog’
++ tr -d ‘"’
DATA_DIR=data
DATA_DIR=data
[[ data != /* ]]
DATA_DIR=/root/emqx/data
CONFIGS_DIR=/root/emqx/data/configs
mkdir -p /root/emqx/data/configs
‘[’ -n ‘’ ‘]’
NAME=
‘[’ -z ‘’ ‘]’
‘[’ yes = yes ‘]’
++ get_boot_config node.name
++ path_to_value=node.name
++ echo -e ‘node.data_dir=“data”
node.name="emqx@127.0.0.1"
node.cookie=“emqxsecretcookie”
node.db_backend=rlog’
++ grep node.name=
++ sed -e s/node.name=//g
++ tr -d ‘"’
‘[’ -z emqx@127.0.0.1 ‘]’
case “$NAME” in
NAME_TYPE=-name
++ awk -F@ ‘{print $1}’
++ echo emqx@127.0.0.1
SHORT_NAME=emqx
echo emqx
grep -q ‘^[0-9A-Za-z_-]+$’
export ESCRIPT_NAME=emqx
ESCRIPT_NAME=emqx
PIPE_DIR=//root/emqx/data/root_erl_pipes/emqx@127.0.0.1/
‘[’ -n ‘’ ‘]’
COOKIE=
‘[’ -z ‘’ ‘]’
‘[’ yes = yes ‘]’
++ get_boot_config node.cookie
++ path_to_value=node.cookie
++ grep node.cookie=
++ sed -e s/node.cookie=//g
++ tr -d ‘"’
++ echo -e ‘node.data_dir=“data”
node.name="emqx@127.0.0.1"
node.cookie=“emqxsecretcookie”
node.db_backend=rlog’
COOKIE=emqxsecretcookie
‘[’ -z emqxsecretcookie ‘]’
[[ yes == \y\e\s ]]
++ get_boot_config node.db_backend
++ path_to_value=node.db_backend
++ grep node.db_backend=
++ echo -e ‘node.data_dir=“data”
node.name="emqx@127.0.0.1"
node.cookie=“emqxsecretcookie”
node.db_backend=rlog’
++ sed -e s/node.db_backend=//g
++ tr -d ‘"’
[[ rlog == \r\l\o\g ]]
grep -q MNESIA_OK
echo -e ‘BEAM_OK
CRYPTO_OK [{<<“OpenSSL”>>,269488143,<<“OpenSSL 1.1.1 11 Sep 2018”>>}]
MNESIA_OK’
cd /root/emqx
case “${COMMAND}” in
case “$COMMAND” in
‘[’ -f /root/emqx/releases/5.0.0/emqx.boot ‘]’
BOOTFILE=/root/emqx/releases/5.0.0/start
case “$COMMAND” in
FOREGROUNDOPTIONS=
‘[’ ‘’ = 1 ‘]’
maybe_log_to_console
‘[’ ‘’ = default ‘]’
tr_log_to_env
local log_to=undefined
unset EMQX_LOG__TO
case “${log_to}” in
export EMQX_LOG__CONSOLE_HANDLER__ENABLE=true
EMQX_LOG__CONSOLE_HANDLER__ENABLE=true
export EMQX_LOG__FILE_HANDLERS__DEFAULT__ENABLE=false
EMQX_LOG__FILE_HANDLERS__DEFAULT__ENABLE=false
generate_config -name emqx@127.0.0.1
local name_type=-name
local node_name=emqx@127.0.0.1
rm -rf /root/emqx/log/emqx.log.siz
local NOW_TIME
++ date +%Y.%m.%d.%H.%M.%S
NOW_TIME=2022.06.21.01.56.49
call_hocon -v -t 2022.06.21.01.56.49 -s emqx_conf_schema -c /root/emqx/etc/emqx.conf -d /root/emqx/data/configs generate
call_nodetool hocon -v -t 2022.06.21.01.56.49 -s emqx_conf_schema -c /root/emqx/etc/emqx.conf -d /root/emqx/data/configs generate
/root/emqx/erts-12.2.1/bin/escript /root/emqx/bin/nodetool hocon -v -t 2022.06.21.01.56.49 -s emqx_conf_schema -c /root/emqx/etc/emqx.conf -d /root/emqx/data/configs generate
log.file_handlers.default.enable = EMQX_LOG__FILE_HANDLERS__DEFAULT__ENABLE = false
log.console_handler.enable = EMQX_LOG__CONSOLE_HANDLER__ENABLE = true
CONF_FILE=/root/emqx/data/configs/app.2022.06.21.01.56.49.config
ARGS_FILE=/root/emqx/data/configs/vm.2022.06.21.01.56.49.args
TMP_ARG_FILE=/root/emqx/data/configs/vm.args.tmp
cp /root/emqx/etc/vm.args /root/emqx/data/configs/vm.args.tmp
echo ‘’
echo ‘-pa “/root/emqx/releases/5.0.0/consolidated”’
sed ‘/^$/d’
IFS=
read -r ARG_LINE
sed ‘/^#/d’ /root/emqx/data/configs/vm.2022.06.21.01.56.49.args
++ echo ‘-kernel net_ticktime 120’
++ awk ‘{$NF="";print}’
ARG_KEY=’-kernel net_ticktime ’
++ echo ‘-kernel net_ticktime 120’
++ awk ‘{print $NF}’
ARG_VALUE=120
++ grep '^-kernel net_ticktime ’ /root/emqx/data/configs/vm.args.tmp
TMP_ARG_VALUE=’-kernel net_ticktime 120’
‘[’ 120 ‘!=’ ‘-kernel net_ticktime 120’ ‘]’
‘[’ -n ‘-kernel net_ticktime 120’ ‘]’
sh -c ‘sed -i ‘’‘s|^-kernel net_ticktime .*$|-kernel net_ticktime 120|’’’ “/root/emqx/data/configs/vm.args.tmp”’
IFS=
read -r ARG_LINE
++ echo ‘-env ERL_CRASH_DUMP_BYTES 104857600’
++ awk ‘{$NF="";print}’
ARG_KEY=’-env ERL_CRASH_DUMP_BYTES ’
++ awk ‘{print $NF}’
++ echo ‘-env ERL_CRASH_DUMP_BYTES 104857600’
ARG_VALUE=104857600
++ grep '^-env ERL_CRASH_DUMP_BYTES ’ /root/emqx/data/configs/vm.args.tmp
++ true
++ awk ‘{print $NF}’
TMP_ARG_VALUE=
‘[’ 104857600 ‘!=’ ‘’ ‘]’
‘[’ -n ‘’ ‘]’
echo ‘-env ERL_CRASH_DUMP_BYTES 104857600’
IFS=
read -r ARG_LINE
++ awk ‘{$NF="";print}’
++ echo ‘-env ERL_CRASH_DUMP_SECONDS 30’
ARG_KEY=’-env ERL_CRASH_DUMP_SECONDS ’
++ awk ‘{print $NF}’
++ echo ‘-env ERL_CRASH_DUMP_SECONDS 30’
ARG_VALUE=30
++ grep '^-env ERL_CRASH_DUMP_SECONDS ’ /root/emqx/data/configs/vm.args.tmp
++ true
++ awk ‘{print $NF}’
TMP_ARG_VALUE=
‘[’ 30 ‘!=’ ‘’ ‘]’
‘[’ -n ‘’ ‘]’
echo ‘-env ERL_CRASH_DUMP_SECONDS 30’
IFS=
read -r ARG_LINE
++ awk ‘{$NF="";print}’
++ echo ‘-env ERL_CRASH_DUMP log/erl_crash.dump’
ARG_KEY=’-env ERL_CRASH_DUMP ’
++ echo ‘-env ERL_CRASH_DUMP log/erl_crash.dump’
++ awk ‘{print $NF}’
ARG_VALUE=log/erl_crash.dump
++ grep '^-env ERL_CRASH_DUMP ’ /root/emqx/data/configs/vm.args.tmp
++ true
++ awk ‘{print $NF}’
TMP_ARG_VALUE=
‘[’ log/erl_crash.dump ‘!=’ ‘’ ‘]’
‘[’ -n ‘’ ‘]’
echo ‘-env ERL_CRASH_DUMP log/erl_crash.dump’
IFS=
read -r ARG_LINE
++ echo ‘+e 262144’
++ awk ‘{$NF="";print}’
ARG_KEY=’+e ’
++ awk ‘{print $NF}’
++ echo ‘+e 262144’
ARG_VALUE=262144
++ grep '^+e ’ /root/emqx/data/configs/vm.args.tmp
++ true
++ awk ‘{print $NF}’
TMP_ARG_VALUE=
‘[’ 262144 ‘!=’ ‘’ ‘]’
‘[’ -n ‘’ ‘]’
echo ‘+e 262144’
IFS=
read -r ARG_LINE
++ awk ‘{$NF="";print}’
++ echo ‘+zdbbl 8192’
ARG_KEY=’+zdbbl ’
++ awk ‘{print $NF}’
++ echo ‘+zdbbl 8192’
ARG_VALUE=8192
++ grep '^+zdbbl ’ /root/emqx/data/configs/vm.args.tmp
++ true
++ awk ‘{print $NF}’
TMP_ARG_VALUE=
‘[’ 8192 ‘!=’ ‘’ ‘]’
‘[’ -n ‘’ ‘]’
echo ‘+zdbbl 8192’
IFS=
read -r ARG_LINE
++ awk ‘{$NF="";print}’
++ echo ‘+Q 1048576’
ARG_KEY=’+Q ’
++ awk ‘{print $NF}’
++ echo ‘+Q 1048576’
ARG_VALUE=1048576
++ grep '^+Q ’ /root/emqx/data/configs/vm.args.tmp
++ true
++ awk ‘{print $NF}’
TMP_ARG_VALUE=
‘[’ 1048576 ‘!=’ ‘’ ‘]’
‘[’ -n ‘’ ‘]’
echo ‘+Q 1048576’
IFS=
read -r ARG_LINE
++ echo ‘+P 2097152’
++ awk ‘{$NF="";print}’
ARG_KEY=’+P ’
++ awk ‘{print $NF}’
++ echo ‘+P 2097152’
ARG_VALUE=2097152
++ grep '^+P ’ /root/emqx/data/configs/vm.args.tmp
++ awk ‘{print $NF}’
++ true
TMP_ARG_VALUE=
‘[’ 2097152 ‘!=’ ‘’ ‘]’
‘[’ -n ‘’ ‘]’
echo ‘+P 2097152’
IFS=
read -r ARG_LINE
‘[’ -n ‘-setcookie emqxsecretcookie’ ‘]’
++ awk ‘{$NF="";print}’
++ echo ‘-setcookie emqxsecretcookie’
ARG_KEY=’-setcookie ’
++ echo ‘-setcookie emqxsecretcookie’
++ awk ‘{print $NF}’
ARG_VALUE=emqxsecretcookie
++ grep '^-setcookie ’ /root/emqx/data/configs/vm.args.tmp
++ true
++ awk ‘{print $NF}’
TMP_ARG_VALUE=
‘[’ emqxsecretcookie ‘!=’ ‘’ ‘]’
‘[’ -n ‘’ ‘]’
echo ‘-setcookie emqxsecretcookie’
IFS=
read -r ARG_LINE
‘[’ -n ‘’ ‘]’
echo ‘-name emqx@127.0.0.1’
echo ‘-mnesia dir ‘’’"/root/emqx/data/mnesia/emqx@127.0.0.1"’’’’
mv -f /root/emqx/data/configs/vm.args.tmp /root/emqx/data/configs/vm.2022.06.21.01.56.49.args
check_license
‘[’ no == no ‘]’
return 0
EMU=beam
PROGNAME=./bin/emqx
export EMU
export PROGNAME
ARGS=console
‘[’ no = no ‘]’
set – /root/emqx/erts-12.2.1/bin/erlexec -boot /root/emqx/releases/5.0.0/start -boot_var RELEASE_LIB /root/emqx/lib -boot_var ERTS_LIB_DIR /root/emqx/lib -mode embedded -config /root/emqx/data/configs/app.2022.06.21.01.56.49.config -args_file /root/emqx/data/configs/vm.2022.06.21.01.56.49.args -start_epmd false -epmd_module ekka_epmd -proto_dist ekka
logger -t ‘emqx[24112]’ ‘EXEC: /root/emqx/erts-12.2.1/bin/erlexec -boot /root/emqx/releases/5.0.0/start -boot_var RELEASE_LIB /root/emqx/lib -boot_var ERTS_LIB_DIR /root/emqx/lib -mode embedded -config /root/emqx/data/configs/app.2022.06.21.01.56.49.config -args_file /root/emqx/data/configs/vm.2022.06.21.01.56.49.args -start_epmd false -epmd_module ekka_epmd -proto_dist ekka – console -emqx_data_dir /root/emqx/data’
exec /root/emqx/erts-12.2.1/bin/erlexec -boot /root/emqx/releases/5.0.0/start -boot_var RELEASE_LIB /root/emqx/lib -boot_var ERTS_LIB_DIR /root/emqx/lib -mode embedded -config /root/emqx/data/configs/app.2022.06.21.01.56.49.config -args_file /root/emqx/data/configs/vm.2022.06.21.01.56.49.args -start_epmd false -epmd_module ekka_epmd -proto_dist ekka – console -emqx_data_dir /root/emqx/data
Erlang/OTP 24 [erts-12.2.1] [emqx] [64-bit] [smp:4:4] [ds:4:4:8] [async-threads:4]
2022-06-21T01:57:02.416086+00:00 [warning] line: 405, message: <<“80.75% mem usage”>>, mfa: emqx_alarm:do_actions/3, msg: alarm_is_activated, name: high_system_memory_usage
Listener ssl:default on :8883 started.
Listener tcp:default on :1883 started.
Listener ws:default on :8083 started.
Listener wss:default on :8084 started.
Listener dashboard:http:18083 on :18083 started.
EMQX 5.0.0 is running now!
Restricted Eshell V12.2.1 (abort with ^G)
5.0.0(emqx@127.0.0.1)1> 2022-06-21T01:57:05.249729+00:00 [warning] info: [{timeout,1061},{in,{hocon_maps,’-fun.deep_merge/2-’,2}},{out,{maps,fold,3}}], line: 116, mfa: emqx_sys_mon:handle_info/2, msg: long_schedule, procinfo: [{pid,<0.2271.0>},{memory,13819768},{total_heap_size,1727361},{heap_size,1727361},{stack_size,464},{min_heap_size,233},{proc_lib_initial_call,{emqx_dashboard_listener,init,[‘Argument__1’]}},{initial_call,{proc_lib,init_p,5}},{current_stacktrace,[{hocon,’-do_concat/3-fun-1-’,1,[{file,“hocon.erl”},{line,334}]},{lists,all,2,[{file,“lists.erl”},{line,1217}]},{hocon,do_concat,3,[{file,“hocon.erl”},{line,334}]},{hocon,verify_concat,1,[{file,“hocon.erl”},{line,313}]},{lists,map,2,[{file,“lists.erl”},{line,1243}]},{hocon,do_concat,3,[{file,“hocon.erl”},{line,357}]},{hocon,do_concat,3,[{file,“hocon.erl”},{line,362}]},{hocon,verify_concat,1,[{file,“hocon.erl”},{line,313}]},{lists,map,2,[{file,“lists.erl”},{line,1243}]},{lists,map,2,[{file,“lists.erl”},{line,1243}]},{hocon,do_concat,3,[{file,“hocon.erl”},{line,357}]},{hocon,do_concat,3,[{file,“hocon.erl”},{line,362}]},{hocon,verify_concat,1,[{file,“hocon.erl”},{line,313}]},{lists,map,2,[{file,“lists.erl”},{line,1243}]},{lists,map,2,[{file,“lists.erl”},{line,1243}]},{hocon,do_concat,3,[{file,“hocon.erl”},{line,357}]},{hocon,do_concat,3,[{file,“hocon.erl”},{line,362}]},{hocon,verify_concat,1,[{file,“hocon.erl”},{line,313}]},{lists,map,2,[{file,“lists.erl”},{line,1243}]},{lists,map,2,[{file,“lists.erl”},{line,1243}]},{hocon,concat,1,[{file,“hocon.erl”},{line,308}]},{hocon_util,pipeline,3,[{file,“hocon_util.erl”},{line,36}]},{hocon,load,2,[{file,“hocon.erl”},{line,61}]}]},{registered_name,emqx_dashboard_listener},{status,running},{message_queue_len,0},{group_leader,<0.2261.0>},{priority,normal},{trap_exit,true},{reductions,7839788},{last_calls,false},{catchlevel,5},{trace,0},{suspending,[]},{sequential_trace_token,[]},{error_handler,error_handler}]
2022-06-21T01:57:06.299073+00:00 [warning] info: [{timeout,671},{in,{gen_server,loop,7}},{out,undefined}], line: 116, mfa: emqx_sys_mon:handle_info/2, msg: long_schedule, procinfo: [{pid,<0.2085.0>},{memory,5152},{total_heap_size,525},{heap_size,376},{stack_size,12},{min_heap_size,233},{proc_lib_initial_call,{emqx_stats,init,[‘Argument__1’]}},{initial_call,{proc_lib,init_p,5}},{current_stacktrace,[{gen_server,loop,7,[{file,“gen_server.erl”},{line,443}]},{proc_lib,wake_up,3,[{file,“proc_lib.erl”},{line,236}]}]},{registered_name,emqx_stats},{status,waiting},{message_queue_len,0},{group_leader,<0.2043.0>},{priority,normal},{trap_exit,false},{reductions,671},{last_calls,false},{catchlevel,1},{trace,0},{suspending,[]},{sequential_trace_token,[]},{error_handler,error_handler}]
2022-06-21T01:57:06.311168+00:00 [warning] info: [{timeout,352},{in,{hocon,’-fun.unicode_bin/1-’,1}},{out,{string,tokens_single_2,4}}], line: 116, mfa: emqx_sys_mon:handle_info/2, msg: long_schedule, procinfo: [{pid,<0.2271.0>},{memory,13819776},{total_heap_size,1727361},{heap_size,1727361},{stack_size,62},{min_heap_size,233},{proc_lib_initial_call,{emqx_dashboard_listener,init,[‘Argument__1’]}},{initial_call,{proc_lib,init_p,5}},{current_stacktrace,[{hocon,paths,1,[{file,“hocon.erl”},{line,408}]},{hocon,do_transform,3,[{file,“hocon.erl”},{line,379}]},{hocon,do_transform,3,[{file,“hocon.erl”},{line,380}]},{hocon,load,2,[{file,“hocon.erl”},{line,62}]},{hocon_schema,new_desc_cache,1,[{file,“hocon_schema.erl”},{line,412}]},{emqx_dashboard,init_i18n,2,[{file,“emqx_dashboard.erl”},{line,129}]},{emqx_dashboard_listener,regenerate_minirest_dispatch,0,[{file,“emqx_dashboard_listener.erl”},{line,84}]},{emqx_dashboard_listener,handle_continue,2,[{file,“emqx_dashboard_listener.erl”},{line,52}]},{gen_server,try_dispatch,4,[{file,“gen_server.erl”},{line,695}]},{gen_server,loop,7,[{file,“gen_server.erl”},{line,437}]},{proc_lib,init_p_do_apply,3,[{file,“proc_lib.erl”},{line,226}]}]},{registered_name,emqx_dashboard_listener},{status,running},{message_queue_len,0},{group_leader,<0.2261.0>},{priority,normal},{trap_exit,true},{reductions,8019781},{last_calls,false},{catchlevel,5},{trace,0},{suspending,[]},{sequential_trace_token,[]},{error_handler,error_handler}]
[os_mon] cpu supervisor port (cpu_sup): Erlang has closed
[os_mon] memory supervisor port (memsup): Erlang has closed
Killed
root@firefly:~/emqx#
内存是256MB的
256M太低了。加大!至少搞个1G啊。
应该是内存不足,被系统kill掉了
好的,那估计就是这个问题了,我再看看能不能搞个大内存的 谢谢