Saltstack Official Apache Formula
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

21 lines
877B

  1. # Managed by saltstack
  2. {%- set mpm_param = salt['pillar.get']('apache:mpm:params', {}) %}
  3. # prefork MPM
  4. # StartServers: number of server processes to start
  5. # MinSpareServers: minimum number of server processes which are kept spare
  6. # MaxSpareServers: maximum number of server processes which are kept spare
  7. # MaxRequestWorkers: maximum number of server processes allowed to start
  8. # MaxConnectionsPerChild: maximum number of requests a server process serves
  9. <IfModule mpm_prefork_module>
  10. StartServers {{ mpm_param['start_servers'] | d('5') }}
  11. MaxRequestWorkers {{ mpm_param['max_request_workers'] | d('150') }}
  12. MinSpareServers {{ mpm_param['min_spare_servers'] | d('5') }}
  13. MaxSpareServers {{ mpm_param['max_spare_servers'] | d('10') }}
  14. MaxConnectionsPerChild {{ mpm_param['max_connections_per_child'] | d('0') }}
  15. </IfModule>
  16. # vim: syntax=apache ts=4 sw=4 sts=4 sr noet