Saltstack Official Apache Formula
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

26 rindas
1.1KB

  1. #
  2. # This file is managed by Salt! Do not edit by hand!
  3. #
  4. {%- set mpm_param = salt['pillar.get']('apache:mpm:params', {}) %}
  5. # prefork MPM
  6. # StartServers: number of server processes to start
  7. # MinSpareServers: minimum number of server processes which are kept spare
  8. # ServerLimit: maximum number of server processes
  9. # MaxSpareServers: maximum number of server processes which are kept spare
  10. # MaxRequestWorkers: maximum number of server processes allowed to start
  11. # MaxConnectionsPerChild: maximum number of requests a server process serves
  12. <IfModule mpm_prefork_module>
  13. StartServers {{ mpm_param['start_servers'] | d('5') }}
  14. MaxRequestWorkers {{ mpm_param['max_request_workers'] | d('150') }}
  15. {%- if mpm_param['max_request_workers'] | d('150') >= 256 %}
  16. ServerLimit {{ mpm_param['max_request_workers'] | d('150') }}
  17. {%- endif %}
  18. MinSpareServers {{ mpm_param['min_spare_servers'] | d('5') }}
  19. MaxSpareServers {{ mpm_param['max_spare_servers'] | d('10') }}
  20. MaxConnectionsPerChild {{ mpm_param['max_connections_per_child'] | d('0') }}
  21. </IfModule>
  22. # vim: syntax=apache ts=4 sw=4 sts=4 sr noet