Rabbitmq startup error

Alibaba cloud Q & A 2022-02-13 07:03:42 阅读数:226

rabbitmq startup error

abbitmq web The client can log in, but in springBoot Use in admin Account startup error

1634545124646_E9559157-1FA9-4f0c-AC92-E333323598FC.png Server mq Users of 1634545132186_E99933D7-DF89-40d3-980D-056885D0F1B2.png

Take the answer 1:

stay rabbitmq-server Add erlang Environment variables of

Lazy initialization of threed pool size - if it wasn't set

explicitly. This parameter is only needed when server is starting,

so it makes no sense to do this calculations in rabbitmq-env or

rabbitmq-defaults scripts.

Add here erlang Environment variables of

ERLANG_HOME=/usr/local/erlang23 export PATH=$PATH:$ERLANG_HOME/bin

ensure_thread_pool_size() { if [ -z "${RABBITMQ_IO_THREAD_POOL_SIZE}" ]; then RABBITMQ_IO_THREAD_POOL_SIZE=$( erl
-boot "${CLEAN_BOOT_FILE}"
-s rabbit_misc report_default_thread_pool_size ) fi }

copyright:author[Alibaba cloud Q & A],Please bring the original link to reprint, thank you. https://en.javamana.com/2022/02/202202130703409909.html