From d95ec77411ad543d676a7dd6c7899e6fae53af27 Mon Sep 17 00:00:00 2001 From: Sebastian Hugentobler Date: Tue, 10 Oct 2017 13:17:21 +0200 Subject: [PATCH] add PHP_START_SERVERS --- README.md | 5 +++++ rootfs/etc/confd/templates/www.conf.tmpl | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index a58cc06..fd99e92 100644 --- a/README.md +++ b/README.md @@ -31,6 +31,11 @@ Execution time limit for php scripts in seconds. Value of `pm.max_children`. +## PHP_START_SERVERS +- default: 2 + +Value of `pm.start_servers` + ## PHP_ADMIN_VALUES Comma seperated list of php admin values. diff --git a/rootfs/etc/confd/templates/www.conf.tmpl b/rootfs/etc/confd/templates/www.conf.tmpl index 7d4dbf8..d0c988b 100644 --- a/rootfs/etc/confd/templates/www.conf.tmpl +++ b/rootfs/etc/confd/templates/www.conf.tmpl @@ -118,7 +118,7 @@ pm.max_children = {{ getenv "PHP_MAX_CHILDREN" "5"}} ; The number of child processes created on startup. ; Note: Used only when pm is set to 'dynamic' ; Default Value: min_spare_servers + (max_spare_servers - min_spare_servers) / 2 -pm.start_servers = 2 +pm.start_servers = {{ getenv "PHP_START_SERVERS" "2"}} ; The desired minimum number of idle server processes. ; Note: Used only when pm is set to 'dynamic'