openstack-ansible-os_keystone/templates/keystone-httpd-mpm.conf.j2
Bjoern Teipel 7704d94c74 Add support to tune the keystone apache MPM settings
This fix adds support to tune the apache MPM server settings
in case more HTTP threads are needed.

New overrides have been predefined in order to use the Ubuntu
default settings:

     keystone_httpd_mpm_backend: event
     keystone_httpd_mpm_start_servers: 2
     keystone_httpd_mpm_min_spare_threads: 25
     keystone_httpd_mpm_max_spare_threads: 75
     keystone_httpd_mpm_thread_limit: 64
     keystone_httpd_mpm_thread_child: 25
     keystone_httpd_mpm_max_requests: 150
     keystone_httpd_mpm_max_conn_child: 0

Change-Id: Ieaad4d2b3c62a5b59e1fa597816ab1b4c2fc3cb1
Closes-Bug: #1576399
2016-05-04 11:50:06 -04:00

10 lines
577 B
Django/Jinja

<IfModule mpm_{{ keystone_httpd_mpm_backend }}_module>
StartServers {{ keystone_httpd_mpm_start_servers }}
MinSpareThreads {{ keystone_httpd_mpm_min_spare_threads }}
MaxSpareThreads {{ keystone_httpd_mpm_max_spare_threads }}
ThreadLimit {{ keystone_httpd_mpm_thread_limit }}
ThreadsPerChild {{ keystone_httpd_mpm_thread_child }}
MaxRequestWorkers {{ keystone_httpd_mpm_max_requests }}
MaxConnectionsPerChild {{ keystone_httpd_mpm_max_conn_child }}
</IfModule>