Ticket #26039: patch-fpm-conf.2.diff
File patch-fpm-conf.2.diff, 1.5 KB (added by chris@…, 14 years ago) |
---|
-
(a) a/sapi/fpm/php-fpm.conf.in.orig vs. (b) b/sapi/fpm/php-fpm.conf.in
a b 22 22 ; Pid file 23 23 ; Note: the default prefix is @EXPANDED_LOCALSTATEDIR@ 24 24 ; Default Value: none 25 ;pid = run/php-fpm.pid25 pid = run/php-fpm.pid 26 26 27 27 ; Error log file 28 28 ; Note: the default prefix is @EXPANDED_LOCALSTATEDIR@ … … 56 56 57 57 ; Send FPM to background. Set to 'no' to keep FPM in foreground for debugging. 58 58 ; Default Value: yes 59 ;daemonize = yes 59 daemonize = no 60 60 61 61 ;;;;;;;;;;;;;;;;;;;; 62 62 ; Pool Definitions ; … … 154 154 ; The number of child processes created on startup. 155 155 ; Note: Used only when pm is set to 'dynamic' 156 156 ; Default Value: min_spare_servers + (max_spare_servers - min_spare_servers) / 2 157 ;pm.start_servers = 20157 pm.start_servers = 20 158 158 159 159 ; The desired minimum number of idle server processes. 160 160 ; Note: Used only when pm is set to 'dynamic' 161 161 ; Note: Mandatory when pm is set to 'dynamic' 162 ;pm.min_spare_servers = 5162 pm.min_spare_servers = 5 163 163 164 164 ; The desired maximum number of idle server processes. 165 165 ; Note: Used only when pm is set to 'dynamic' 166 166 ; Note: Mandatory when pm is set to 'dynamic' 167 ;pm.max_spare_servers = 35167 pm.max_spare_servers = 35 168 168 169 169 ; The number of requests each child process should execute before respawning. 170 170 ; This can be useful to work around memory leaks in 3rd party libraries. For