How many cores does (an older) RabbitMQ use #8510
-
Hi, we have an older RabbitMQ 3.3.1 connected application, with Erlang 17. I see maximum CPU usage clamping at about 25%, which suggests me that it's using one of 4 vcpus to the max. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Hello, thanks for using RabbitMQ. Obviously, the version of RabbitMQ and Erlang you're using are extremely out-of-date. How many queues are you using? |
Beta Was this translation helpful? Give feedback.
-
Just like 3.12, RabbitMQ 3.3 will use a single core for every queue replica. So if you see a node only use one core, then either your workload is dominated by a single very busy queue, or the process is limited (e.g. using cgroups) to use just one core, or the runtime hasn't detected the CPU topology correctly (I highly doubt it). |
Beta Was this translation helpful? Give feedback.
Just like 3.12, RabbitMQ 3.3 will use a single core for every queue replica. So if you see a node only use one core, then either your workload is dominated by a single very busy queue, or the process is limited (e.g. using cgroups) to use just one core, or the runtime hasn't detected the CPU topology correctly (I highly doubt it).