Memory footprint of a RabbitMQ 3.8 node on Erlang 23.3 (or 24.x?) on CentOS 7 #12761
-
Community Support Policy
RabbitMQ version used3.13.7 or older Erlang version used26.0.x Operating system (distribution) usedCentOS 7.9.2009 x86_64 How is RabbitMQ deployed?RPM package rabbitmq-diagnostics status outputSee 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.confSee https://www.rabbitmq.com/docs/configure#config-location to learn how to find rabbitmq.conf file location
Steps to deploy RabbitMQ cluster
RabbitMQ cluster setup On Node 1: vim /var/lib/rabbitmq/.erlang.cookie #sample output RWKKKALCGQVVOZWCHJVO
rabbitmqctl stop_app
on all 3 hosts, enable management plugin
Steps to reproduce the behavior in questionWe cannot reproduce this problem advanced.configSee 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# Relevant parts of K8S deployment that demonstrate how RabbitMQ is deployed
# PASTE YAML HERE, BETWEEN BACKTICKS What problem are you trying to solve?We got alert about the rabbitmq service is down . ![]() |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
RabbitMQ 3.8 has been out of support for years. |
Beta Was this translation helpful? Give feedback.
-
I have edited out some company-identifying information from the instructions. @NoraDing we cannot know what consumes memory or other resources on your node. Start with Reasoning About Memory Footprint and Monitoring with Prometheus and Grafana that demonstrates that there are tools that monitor more than the total footprint (but rather specific sub-categories). RabbitMQ 3.8 is five minors and close to 100 patches behind the latest 3.x release (3.13.7), which has been out of community support for over two months now. Given the gap in versions, I'd start with the Blue-Green Deployment guide because that's going to be the most practical upgrade option for you. |
Beta Was this translation helpful? Give feedback.
-
@NoraDing and then there is CentOS 7, another piece of this puzzle that is completely out of support. FWIW, our team still quietly produces CentOS 7 versions of zero dependency RPMs, so running RabbitMQ 4.0.x on Erlang 26.x on CentOS 7 is still possible as a worst case transitionary scenario. |
Beta Was this translation helpful? Give feedback.
-
@NoraDing finally, you consume packages from PackageCloud, which our team no longer uses or updates. We don't know when PackageCloud might disactivate our account. Our current RPM repos do not provide 3.8.x but GitHub releases of both RabbitMQ server and our zero dependency Erlang RPM go back a good decade. According to an older version of the docs, RabbitMQ 3.8 requires Erlang/OTP 23. Then 23.3.x or 24.3.x releases should be an option for direct downloads instead of using PackageCloud. Not all of them have a CentOS 7 build but at least a few should. |
Beta Was this translation helpful? Give feedback.
RabbitMQ 3.8 has been out of support for years.