Created
February 13, 2015 02:37
-
-
Save wojons/cb3b6982dabdaff95031 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# prefork MPM | |
# StartServers: number of server processes to start | |
# MinSpareServers: minimum number of server processes which are kept spare | |
# MaxSpareServers: maximum number of server processes which are kept spare | |
# ServerLimit: maximum value for MaxClients for the lifetime of the server | |
# MaxClients: maximum number of server processes allowed to start | |
# MaxRequestsPerChild: maximum number of requests a server process serves | |
<IfModule prefork.c> | |
StartServers 4 | |
MinSpareServers 4 | |
MaxSpareServers 16 | |
ServerLimit 500 | |
MaxClients 500 | |
MaxRequestsPerChild 4000 | |
</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 4 | |
MaxClients 500 | |
MinSpareThreads 4 | |
MaxSpareThreads 16 | |
ThreadsPerChild 50 | |
MaxRequestsPerChild 4000 | |
</IfModule> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment