add PHP_MAX_SPARE_SERVERS
This commit is contained in:
parent
d95ec77411
commit
95f90a5fb2
@ -36,6 +36,11 @@ Value of `pm.max_children`.
|
|||||||
|
|
||||||
Value of `pm.start_servers`
|
Value of `pm.start_servers`
|
||||||
|
|
||||||
|
## PHP_MAX_SPARE_SERVERS
|
||||||
|
- default: Value of PHP_START_SERVERS or 3
|
||||||
|
|
||||||
|
Value of `pm.max_spare_servers`
|
||||||
|
|
||||||
## PHP_ADMIN_VALUES
|
## PHP_ADMIN_VALUES
|
||||||
Comma seperated list of php admin values.
|
Comma seperated list of php admin values.
|
||||||
|
|
||||||
|
@ -128,7 +128,7 @@ pm.min_spare_servers = 1
|
|||||||
; 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 = 3
|
pm.max_spare_servers = {{ getenv "PHP_MAX_SPARE_SERVERS" (getenv "PHP_START_SERVERS" "3") }}
|
||||||
|
|
||||||
; 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'
|
||||||
|
Loading…
Reference in New Issue
Block a user