Initial Chef repository
This commit is contained in:
20
cookbooks/apache2/templates/default/mods/mpm_worker.conf.erb
Normal file
20
cookbooks/apache2/templates/default/mods/mpm_worker.conf.erb
Normal file
@@ -0,0 +1,20 @@
|
||||
# worker 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
|
||||
# ThreadLimit: ThreadsPerChild can be changed to this maximum value during a
|
||||
# graceful restart. ThreadLimit can only be changed by stopping
|
||||
# and starting Apache.
|
||||
# ThreadsPerChild: constant number of worker threads in each server process
|
||||
# MaxRequestWorkers: maximum number of threads
|
||||
# MaxConnectionsPerChild: maximum number of requests a server process serves
|
||||
<IfModule mpm_worker_module>
|
||||
StartServers <%= node['apache']['worker']['startservers'] %>
|
||||
MinSpareThreads <%= node['apache']['worker']['minsparethreads'] %>
|
||||
MaxSpareThreads <%= node['apache']['worker']['maxsparethreads'] %>
|
||||
ThreadsPerChild <%= node['apache']['worker']['threadsperchild'] %>
|
||||
MaxRequestWorkers <%= node['apache']['worker']['maxrequestworkers'] %>
|
||||
MaxConnectionsPerChild <%= node['apache']['worker']['maxconnectionsperchild'] %>
|
||||
ThreadLimit <%= node['apache']['worker']['threadlimit'] %>
|
||||
ServerLimit <%= node['apache']['worker']['serverlimit'] %>
|
||||
</IfModule>
|
||||
Reference in New Issue
Block a user