Description
Describe the bug
on arm64 ,we find rabbitmq occassionally get stuck on startup, the code gets stuck seem to be different.
when getting stuck ,rabbitmq log prints below log occassionally,but the rabbitmq node is new, before starting,there is no persistent data.
"Mnesia('rabbit@arm-r1-s1-VM'): ** WARNING ** Mnesia is overloaded: {dump_log,time_threshold},"
so,we test a simple code block on erlang 25.3.2.6 ,the code gets stuack occassionally like above.
stack trace
To Reproduce
export AAAAA="192.168.32.79"
while [ 1 -eq 1 ]
do
start_time=$(date +%s)
echo "start $(date)"
erl -noinput -eval 'T=os:getenv("AAAAA"),{ok,S}=inet:parse_address(T),io:format("~p",[S]),init:stop().' &
while [ 1 -eq 1 ]
do
if [ ps -ef|grep AAAA|wc -l
-gt 1 ];then
end_time=$(date +%s)
duration=$((end_time - start_time))
if [ $duration -gt 10 ];then
echo "2222222222"
fi
sleep 1
else
echo "\n end $(date)"
break
fi
done
done
execute above script on arm64
Expected behavior
erl command return
Affected versions
25.3.2.6
Additional context
Add any other context about the problem here. If you wish to attach Erlang code you can either write it directly in the post using code tags, create a gist, or attach it as a zip file to this post.