RabbitMQ CPU usage

Bug #1827878 reported by Christophe Le Guern
22
This bug affects 4 people
Affects Status Importance Assigned to Milestone
openstack-ansible
New
Low
Unassigned

Bug Description

- OS version: Queens
- Linux: Ubuntu Xenial
- RabbitMQ: 3.6.14-1

RabbitMQ erlang beam.smp process is using a lot of CPU by default, around 40 and 50% CPU.
The CPU usage decreases to <10% when adding the following configuration to "/etc/rabbitmq/rabbitmq-env.conf":
```
RABBITMQ_SERVER_ADDITIONAL_ERL_ARGS="+sbwt none"
```

RabbitMQ documentation link: https://www.rabbitmq.com/runtime.html#scheduler-wakeup-threshold

This configuration is already applied in TripleO https://docs.openstack.org/releasenotes/tripleo-heat-templates/queens.html#relnotes-8-1-0-stable-queens-other-notes

This option could be part and be the default to openstack-ansible-rabbitmq_server ansible role.

Changed in openstack-ansible:
importance: Undecided → Low
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.