High CPU usage for Rabbit MQ on OpenShift?

88 views
Skip to first unread message

Sherry Reese

unread,
Jul 17, 2020, 4:29:24 AM7/17/20
to rabbitmq-users
Hello guys,

we experience high CPU usage for our Rabbit MQ instances on all of our OpenShift nodes.

I'm not an Rabbit MQ expert but help to debug the issue. The Rabbit MQ guys seem to transfer (write) 4 Megabyte/second with Rabbit MQ and we can see that the Erlang process named beam.smp is using about 170% - 200% CPU for its work.
Any idea why the CPU usage is that high?

We are on Rabbit MQ 3.7.8 with Erlang 20.3.8.5.

It seems that after a restart the CPU user goes down for some time but after a while it rises again.

Can we try to tune something? Some buffer settings for large (2MB to 20MB) messages?

Cheers
Sherry

Warren Pang

unread,
Jul 17, 2020, 4:32:17 AM7/17/20
to rabbitm...@googlegroups.com
Hello

I would suggest you upgrade both RabbitMQ and Erlang to the latest versions.
The recent version has improved a lot on resource usage optimization, which might have helps to your case.

Thanks.


--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-user...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/rabbitmq-users/7790aaa1-9210-4c82-9fae-54ffda4b551bo%40googlegroups.com.

Luke Bakken

unread,
Jul 17, 2020, 7:29:39 AM7/17/20
to rabbitmq-users
Hello,

Warren's suggestion to upgrade is good. Depending on your workload, this may help - https://www.rabbitmq.com/runtime.html#busy-waiting

Also, search this mailing list's archives for "busy CPU". The topic is discussed frequently.

Thanks -
Luke
Reply all
Reply to author
Forward
0 new messages