Saltstack Official Apache Formula
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

21 行
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