diff --git a/roles/httpd/proxy/files/httpd.conf b/roles/httpd/proxy/files/httpd.conf index 5a826b755e..d753be1245 100644 --- a/roles/httpd/proxy/files/httpd.conf +++ b/roles/httpd/proxy/files/httpd.conf @@ -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 - StartServers 150 MinSpareServers 50 MaxSpareServers 100 ServerLimit 950 MaxClients 900 MaxRequestsPerChild 10000 - - -# 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 - - 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 - # # Listen: Allows you to bind Apache to specific IP addresses and/or @@ -785,3 +762,6 @@ ProxyTimeout 1200 SetHandler server-status +# Try and enable these to improve performance +EnableMMAP on +EnableSendfile on