24 lines
1.1 KiB
Django/Jinja
24 lines
1.1 KiB
Django/Jinja
#
|
|
# This file is managed by Salt! Do not edit by hand!
|
|
#
|
|
{%- set mpm_param = salt['pillar.get']('apache:mpm:params', {}) %}
|
|
|
|
# event MPM
|
|
# StartServers: initial number of server processes to start
|
|
# MinSpareThreads: minimum number of worker threads which are kept spare
|
|
# MaxSpareThreads: maximum number of worker threads which are kept spare
|
|
# ThreadsPerChild: constant number of worker threads in each server process
|
|
# MaxRequestWorkers: maximum number of worker threads
|
|
# MaxConnectionsPerChild: maximum number of requests a server process serves
|
|
<IfModule mpm_event_module>
|
|
StartServers {{ mpm_param['start_servers'] | d('2') }}
|
|
MaxRequestWorkers {{ mpm_param['max_request_workers'] | d('150') }}
|
|
MinSpareThreads {{ mpm_param['min_spare_threads'] | d('25') }}
|
|
MaxSpareThreads {{ mpm_param['max_spare_threads'] | d('75') }}
|
|
ThreadLimit {{ mpm_param['thread_limit'] | d('64') }}
|
|
ThreadsPerChild {{ mpm_param['threads_per_child'] | d('25') }}
|
|
MaxConnectionsPerChild {{ mpm_param['max_connections_per_child'] | d('0') }}
|
|
</IfModule>
|
|
|
|
# vim: syntax=apache ts=4 sw=4 sts=4 sr noet
|