|
@@ -29,7 +29,7 @@
|
|
; in a local file.
|
|
; in a local file.
|
|
; Note: the default prefix is @EXPANDED_LOCALSTATEDIR@
|
|
; Note: the default prefix is @EXPANDED_LOCALSTATEDIR@
|
|
; Default Value: log/php-fpm.log
|
|
; Default Value: log/php-fpm.log
|
|
-;error_log = log/php-fpm.log
|
|
|
|
|
|
+error_log = /dev/stderr
|
|
|
|
|
|
; syslog_facility is used to specify what type of program is logging the
|
|
; syslog_facility is used to specify what type of program is logging the
|
|
; message. This lets syslogd specify that messages from different facilities
|
|
; message. This lets syslogd specify that messages from different facilities
|
|
@@ -155,7 +155,7 @@ listen = 127.0.0.1:9001
|
|
|
|
|
|
; Set listen(2) backlog.
|
|
; Set listen(2) backlog.
|
|
; Default Value: 128 (-1 on FreeBSD and OpenBSD)
|
|
; Default Value: 128 (-1 on FreeBSD and OpenBSD)
|
|
-listen.backlog = 256
|
|
|
|
|
|
+listen.backlog = 4096
|
|
|
|
|
|
; Set permissions for unix socket, if one is used. In Linux, read/write
|
|
; Set permissions for unix socket, if one is used. In Linux, read/write
|
|
; permissions must be set in order to allow connections from a web server. Many
|
|
; permissions must be set in order to allow connections from a web server. Many
|
|
@@ -217,22 +217,22 @@ pm = dynamic
|
|
; forget to tweak pm.* to fit your needs.
|
|
; forget to tweak pm.* to fit your needs.
|
|
; Note: Used when pm is set to 'static', 'dynamic' or 'ondemand'
|
|
; Note: Used when pm is set to 'static', 'dynamic' or 'ondemand'
|
|
; Note: This value is mandatory.
|
|
; Note: This value is mandatory.
|
|
-pm.max_children = 512
|
|
|
|
|
|
+pm.max_children = 1024
|
|
|
|
|
|
; The number of child processes created on startup.
|
|
; The number of child processes created on startup.
|
|
; Note: Used only when pm is set to 'dynamic'
|
|
; Note: Used only when pm is set to 'dynamic'
|
|
; Default Value: min_spare_servers + (max_spare_servers - min_spare_servers) / 2
|
|
; Default Value: min_spare_servers + (max_spare_servers - min_spare_servers) / 2
|
|
-pm.start_servers = 256
|
|
|
|
|
|
+pm.start_servers = 512
|
|
|
|
|
|
; The desired minimum number of idle server processes.
|
|
; The desired minimum number of idle server processes.
|
|
; Note: Used only when pm is set to 'dynamic'
|
|
; Note: Used only when pm is set to 'dynamic'
|
|
; Note: Mandatory when pm is set to 'dynamic'
|
|
; Note: Mandatory when pm is set to 'dynamic'
|
|
-pm.min_spare_servers = 16
|
|
|
|
|
|
+pm.min_spare_servers = 50
|
|
|
|
|
|
; The desired maximum number of idle server processes.
|
|
; The desired maximum number of idle server processes.
|
|
; Note: Used only when pm is set to 'dynamic'
|
|
; Note: Used only when pm is set to 'dynamic'
|
|
; Note: Mandatory when pm is set to 'dynamic'
|
|
; Note: Mandatory when pm is set to 'dynamic'
|
|
-pm.max_spare_servers = 256
|
|
|
|
|
|
+pm.max_spare_servers = 512
|
|
|
|
|
|
; The number of seconds after which an idle process will be killed.
|
|
; The number of seconds after which an idle process will be killed.
|
|
; Note: Used only when pm is set to 'ondemand'
|
|
; Note: Used only when pm is set to 'ondemand'
|