How to change collect_statistics_interval without restarting RabbitMQ node

190 views
Skip to first unread message

Alain BELE CALO

unread,
Sep 22, 2020, 8:23:46 AM9/22/20
to rabbitmq-users
Hi,

Wa have any performance issues with our rabbitmq cluster (v. 3.8.2 , 3 nodes).
We have 78 k queues and 230K consumers. I would like to reduce the value of collect_statistics_interval  from 10s to 60s tu reduce cpu load, but without restarting the node.

Is it possible or is it only possible ton configure it at the startup ?

Thank you,

Alain

Michal Kuratczyk

unread,
Sep 22, 2020, 9:20:58 AM9/22/20
to rabbitm...@googlegroups.com
Hi,

You can adjust this value at runtime, see https://www.rabbitmq.com/management.html#memory.
However, "The statistics interval can also be changed at runtime. Doing so will have no effect on existing connections, channels or queues. Only new stats emitting entities are affected."
Therefore it won't necessarily resolve the issue immediately.

Going forward, please consider switching your monitoring to the prometheus plugin. It provides much more data with much less performance overhead. Since it is pull-based, you can also adjust the scraping interval easily.
If you do that, you can disable statistic collection in the management plugin altogether: https://www.rabbitmq.com/management.html#disable-stats

Best,

--
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/ed305f48-3011-4e60-b4e1-b475f4fa40fbn%40googlegroups.com.


--
Michał
RabbitMQ team
Reply all
Reply to author
Forward
Message has been deleted
0 new messages