add PHP_MAX_SPARE_SERVERS

This commit is contained in:
Sebastian Hugentobler 2017-10-10 13:26:52 +02:00
parent d95ec77411
commit 95f90a5fb2
2 changed files with 6 additions and 1 deletions

View File

@ -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.

View File

@ -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'