Clean up httpd.conf for new 2.4 options and names.

This commit is contained in:
Kevin Fenzi 2015-01-21 22:54:35 +00:00
parent ef0cffd7dc
commit 2d8f1e4b94

View file

@ -105,35 +105,12 @@ KeepAliveTimeout 15
# MaxSpareServers: maximum number of server processes which are kept spare
# MaxClients: maximum number of server processes allowed to start
# MaxRequestsPerChild: maximum number of requests a server process serves
<IfModule prefork.c>
StartServers 150
MinSpareServers 50
MaxSpareServers 100
ServerLimit 950
MaxClients 900
MaxRequestsPerChild 10000
</IfModule>
# worker MPM
# StartServers: initial number of server processes to start
# MaxClients: maximum number of simultaneous client connections
# 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
# MaxRequestsPerChild: maximum number of requests a server process serves
<IfModule worker.c>
StartServers 2
MaxClients 500
MinSpareThreads 25
MaxSpareThreads 75
ThreadsPerChild 25
MaxRequestsPerChild 10000
#
# To reduce memory usage in the worker MPM, the thread guard page
# can be disabled, at the expense of some protection against stack
# overflow.
# ThreadGuardArea off
</IfModule>
#
# Listen: Allows you to bind Apache to specific IP addresses and/or
@ -785,3 +762,6 @@ ProxyTimeout 1200
SetHandler server-status
</Location>
# Try and enable these to improve performance
EnableMMAP on
EnableSendfile on