Ticket #26039: patch-fpm-conf.diff
File patch-fpm-conf.diff, 1.4 KB (added by andy@…, 14 years ago) |
---|
-
(a) a/sapi/fpm/php-fpm.conf.in.orig vs. (b) b/sapi/fpm/php-fpm.conf.in
a b 17 17 [global] 18 18 ; Pid file 19 19 ; Default Value: none 20 ;pid = @EXPANDED_LOCALSTATEDIR@/run/php-fpm.pid20 pid = @EXPANDED_LOCALSTATEDIR@/run/php-fpm.pid 21 21 22 22 ; Error log file 23 23 ; Default Value: @EXPANDED_LOCALSTATEDIR@/log/php-fpm.log … … 50 50 51 51 ; Send FPM to background. Set to 'no' to keep FPM in foreground for debugging. 52 52 ; Default Value: yes 53 ;daemonize = yes 53 daemonize = no 54 54 55 55 ;;;;;;;;;;;;;;;;;;;; 56 56 ; Pool Definitions ; … … 133 133 ; The number of child processes created on startup. 134 134 ; Note: Used only when pm is set to 'dynamic' 135 135 ; Default Value: min_spare_servers + (max_spare_servers - min_spare_servers) / 2 136 ;pm.start_servers = 20136 pm.start_servers = 20 137 137 138 138 ; The desired minimum number of idle server processes. 139 139 ; Note: Used only when pm is set to 'dynamic' 140 140 ; Note: Mandatory when pm is set to 'dynamic' 141 ;pm.min_spare_servers = 5141 pm.min_spare_servers = 5 142 142 143 143 ; The desired maximum number of idle server processes. 144 144 ; Note: Used only when pm is set to 'dynamic' 145 145 ; Note: Mandatory when pm is set to 'dynamic' 146 ;pm.max_spare_servers = 35146 pm.max_spare_servers = 35 147 147 148 148 ; The number of requests each child process should execute before respawning. 149 149 ; This can be useful to work around memory leaks in 3rd party libraries. For