From b6ff05ddfe2fd8a09348dee2ce3388aa3942900b Mon Sep 17 00:00:00 2001 From: James Page Date: Wed, 22 Oct 2014 17:31:29 +0100 Subject: [PATCH] Tweak rpc workers and max_pool_size for scaling --- templates/icehouse/neutron.conf | 1 + templates/parts/section-database | 1 + 2 files changed, 2 insertions(+) diff --git a/templates/icehouse/neutron.conf b/templates/icehouse/neutron.conf index 34433ce8..519a6278 100644 --- a/templates/icehouse/neutron.conf +++ b/templates/icehouse/neutron.conf @@ -13,6 +13,7 @@ bind_host = {{ bind_host }} auth_strategy = keystone notification_driver = neutron.openstack.common.notifier.rpc_notifier api_workers = {{ workers }} +rpc_workers = {{ workers }} {% if neutron_bind_port -%} bind_port = {{ neutron_bind_port }} diff --git a/templates/parts/section-database b/templates/parts/section-database index ae4a5ba0..be0071fa 100644 --- a/templates/parts/section-database +++ b/templates/parts/section-database @@ -1,4 +1,5 @@ {% if database_host -%} [database] connection = {{ database_type }}://{{ database_user }}:{{ database_password }}@{{ database_host }}/{{ database }}{% if database_ssl_ca %}?ssl_ca={{ database_ssl_ca }}{% if database_ssl_cert %}&ssl_cert={{ database_ssl_cert }}&ssl_key={{ database_ssl_key }}{% endif %}{% endif %} +max_pool_size = {{ workers * 4 }} {% endif -%}