From 59ec4725d73c565e91346d420eb70e0e1d9abd66 Mon Sep 17 00:00:00 2001 From: Dmitriy Rabotyagov Date: Tue, 24 Sep 2024 19:05:30 +0200 Subject: [PATCH] Increase MPM thread limits for Apache As Apache now being used for multiple services (repo, keystone, horizon and skyline), it makes sense to slightly increase threads limit in order to not face connectivity issues while HAProxy checks status, fetching wheels or generic operations. Hopefully, this will reduce intermittent failures while talking to repo server or running tempest tests. Change-Id: I8210cc588cf3e88730d90f860b23023b296d7ea2 --- .../templates/user_variables.aio.yml.j2 | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/tests/roles/bootstrap-host/templates/user_variables.aio.yml.j2 b/tests/roles/bootstrap-host/templates/user_variables.aio.yml.j2 index 68b3d3347b..326c519dfe 100644 --- a/tests/roles/bootstrap-host/templates/user_variables.aio.yml.j2 +++ b/tests/roles/bootstrap-host/templates/user_variables.aio.yml.j2 @@ -69,15 +69,14 @@ galera_my_cnf_overrides: ### Set workers for all services to optimise memory usage -## Repo -repo_nginx_threads: 2 +# Apache MPM settings +openstack_apache_start_servers: 3 +openstack_apache_min_spare_threads: 5 +openstack_apache_max_spare_threads: 15 +openstack_apache_thread_limit: 30 +openstack_apache_thread_child: 30 ## Keystone -keystone_httpd_mpm_start_servers: 2 -keystone_httpd_mpm_min_spare_threads: 5 -keystone_httpd_mpm_max_spare_threads: 10 -keystone_httpd_mpm_thread_limit: 15 -keystone_httpd_mpm_thread_child: 15 keystone_wsgi_threads: 2 keystone_wsgi_processes: 2