Replies: 4 comments
-
Sounds like an application bug. RabbitMQ 3.13.x is ineligible for free community support. Support for RabbitMQ 3.13.x versions requires a contract with Broadcom (https://github.com/rabbitmq/rabbitmq-server/blob/main/COMMUNITY_SUPPORT.md#who-is-eligible-for-community-support). You must use the latest version of RabbitMQ and Erlang to be eligible for community support from Team RabbitMQ. |
Beta Was this translation helpful? Give feedback.
-
@NoraDing I'd be very happy to learn more about your RabbitMQ usage and share more about how the Broadcom team could support your use of RabbitMQ in the future. |
Beta Was this translation helpful? Give feedback.
-
This is a continuation to #12761, where the version used (3.8.30) is completely out of any kind of support (and has been for years) yet we have provided some guidance.
@NoraDing please migrate to RabbitMQ Logs and metrics are the most important parts. If you use RabbitMQ for free and expect help with technical operations from the core team, please use a supported version and provide relevant details. Or buy a support subscription, but even commercial customers are asked to provide relevant information. One screenshot is absolutely not enough. How you set up the Erlang cookie in a script is not particularly relevant for the question at hand, that part can be left out. |
Beta Was this translation helpful? Give feedback.
-
Here is a similar discussion #12668 where one cluster node used more CPU resources than other nodes. It explains what kind of questions the core team asks, what are the most typical scenarios, what metrics and documentation parts are relevant (well, for that question anyway). This is about as much as we can suggest with a single screenshot, one |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Community Support Policy
RabbitMQ version used
3.13.7 or older
Erlang version used
26.0.x
Operating system (distribution) used
CentOS 7.9.2009 x86_64
How is RabbitMQ deployed?
RPM package
rabbitmq-diagnostics status output
See https://www.rabbitmq.com/docs/cli to learn how to use rabbitmq-diagnostics
Logs from node 1 (with sensitive values edited out)
See https://www.rabbitmq.com/docs/logging to learn how to collect logs
Logs from node 2 (if applicable, with sensitive values edited out)
See https://www.rabbitmq.com/docs/logging to learn how to collect logs
Logs from node 3 (if applicable, with sensitive values edited out)
See https://www.rabbitmq.com/docs/logging to learn how to collect logs
rabbitmq.conf
See https://www.rabbitmq.com/docs/configure#config-location to learn how to find rabbitmq.conf file location
Steps to deploy RabbitMQ cluster
Install RabbitMQ & Erlang
curl -s https://packagecloud.io/install/repositories/rabbitmq/rabbitmq-server/script.rpm.sh | sudo bash
curl -s https://packagecloud.io/install/repositories/rabbitmq/erlang/script.rpm.sh | sudo bash
yum -y update
yum -y install epel-release
yum remove erlang*
yum remove erlang-erts-R16B-03.18.el7.x86_64
yum -y install socat
yum -y install rabbitmq-server-3.8.30*
Create/Modify configuration file
cd /etc/rabbitmq
cat > rabbitmq-env.conf
NODE_PORT=5672
export RABBITMQ_LOG_BASE=/rabbitmqlogs
export RABBITMQ_MNESIA_BASE=/rabbitmqdata
export RABBITMQ_USE_LONGNAME=true
Configure log rotate
cat > /etc/logrotate.d/rabbitmq-server
/rabbitmqlogs/*.log {
weekly
missingok
rotate 20
size 200M
compress
notifempty
}
Stop/disable Firewall
systemctl stop firewalld.service
systemctl disable firewalld.service
Start/enable RabbitMQ
systemctl enable rabbitmq-server.service
systemctl start rabbitmq-server.service
systemctl status rabbitmq-server.service
RabbitMQ cluster setup
On Node 1:
7. Copy cookie file from master to all slaves, and make them identical
vim /var/lib/rabbitmq/.erlang.cookie #sample output RWKKKALCGQVVOZWCHJVO
cat /var/lib/rabbitmq/.erlang.cookie
chown rabbitmq:rabbitmq /var/lib/rabbitmq/*
chmod 400 /var/lib/rabbitmq/.erlang.cookie
Copy contents of erlang.cookie from Node 1 to NODE 2 ,3, 4 & 5
(This is important to form an HA cluster with node 1)
Need to restart rabbitMQ on all node 2,3,4 & 5 servers after cookie change
systemctl stop rabbitmq-server.service
systemctl start rabbitmq-server.service
Join the cluster: on Node 2 ,3,4 & 5 by run the following
rabbitmqctl stop_app
rabbitmqctl reset
rabbitmqctl join_cluster rabbit@
example: rabbitmqctl join_cluster [email protected]
rabbitmqctl start_app
on all 3 hosts, enable management plugin
rabbitmq-plugins enable rabbitmq_management
Enable other important Plugins
rabbitmq-plugins enable rabbitmq_top
rabbitmq-plugins enable rabbitmq_federation
rabbitmq-plugins enable rabbitmq_federation_management
rabbitmq-plugins enable rabbitmq_shovel
rabbitmq-plugins enable rabbitmq_shovel_management
rabbitmq-plugins enable rabbitmq_prometheus
Check Plugins on all hosts
rabbitmq-plugins list
rabbitmq-plugins list --enabled
Steps to reproduce the behavior in question
cannot reproduce this problem
advanced.config
See https://www.rabbitmq.com/docs/configure#config-location to learn how to find advanced.config file location
Application code
# PASTE CODE HERE, BETWEEN BACKTICKS
Kubernetes deployment file
What problem are you trying to solve?
The memory usage of one rabbitmq is far higher than other nodes from one same cluster .
Can you help confirm why the value " allocated_unused: 1.6894 gb (74.76 %) " is high?
With the days or hours going, the memory will be suddenly decrease and the node will be stuck. And we can solve it by restarting the node only.
here are some evidence for your reference.

The consumers is much more than other nodes and the number is still increasing.
Beta Was this translation helpful? Give feedback.
All reactions