Created
June 17, 2014 03:37
-
-
Save nqbao/39c5b206a1ed59610ae3 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
pm = dynamic | |
; The number of child processes to be created when pm is set to 'static' and the | |
; maximum number of child processes when pm is set to 'dynamic' or 'ondemand'. | |
; This value sets the limit on the number of simultaneous requests that will be | |
; served. Equivalent to the ApacheMaxClients directive with mpm_prefork. | |
; Equivalent to the PHP_FCGI_CHILDREN environment variable in the original PHP | |
; CGI. The below defaults are based on a server without much resources. Don't | |
; forget to tweak pm.* to fit your needs. | |
; Note: Used when pm is set to 'static', 'dynamic' or 'ondemand' | |
; Note: This value is mandatory. | |
pm.max_children = 60 | |
; The number of child processes created on startup. | |
; Note: Used only when pm is set to 'dynamic' | |
; Default Value: min_spare_servers + (max_spare_servers - min_spare_servers) / 2 | |
pm.start_servers = 40 | |
; The desired minimum number of idle server processes. | |
; Note: Used only when pm is set to 'dynamic' | |
; Note: Mandatory when pm is set to 'dynamic' | |
pm.min_spare_servers = 20 | |
; The desired maximum number of idle server processes. | |
; Note: Used only when pm is set to 'dynamic' | |
; Note: Mandatory when pm is set to 'dynamic' | |
pm.max_spare_servers = 60 | |
; The number of seconds after which an idle process will be killed. | |
; Note: Used only when pm is set to 'ondemand' | |
; Default Value: 10s | |
;pm.process_idle_timeout = 10s; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment