From 164cc66f7df1d35ae5d69bb996e9d5fe02ca8128 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Guilherme=20Steinm=C3=BCller?= Date: Mon, 10 Jun 2019 20:22:21 +0000 Subject: [PATCH] Cap the maximum number of rpc workers Currently, there is only one process for all rabbitmq processing. This is not enough and causes systems to get clogged up. Change-Id: Ie4823ed85582d3056c7837e3a8a4e7a53fac653c --- defaults/main.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/defaults/main.yml b/defaults/main.yml index 43fa6931..936812ad 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -264,7 +264,8 @@ neutron_oslomsg_amqp1_enabled: "{{ neutron_oslomsg_rpc_transport == 'amqp' }}" neutron_rpc_thread_pool_size: 64 neutron_rpc_conn_pool_size: 30 neutron_rpc_response_timeout: 60 -neutron_rpc_workers: 1 +neutron_rpc_workers_max: 16 +neutron_rpc_workers: "{{ [[ansible_processor_vcpus|default(2) // 2, 1] | max, neutron_rpc_workers_max] | min }}" ### ### Identity (Keystone) integration