From 712b53e69620b8b46f1295ae57016c49687647c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josu=C3=A9=20Tille?= Date: Thu, 15 Feb 2018 11:08:01 +0100 Subject: [PATCH] Update php config --- conf/php-fpm.conf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/conf/php-fpm.conf b/conf/php-fpm.conf index 8affbc2..7d3ae7f 100644 --- a/conf/php-fpm.conf +++ b/conf/php-fpm.conf @@ -96,12 +96,12 @@ pm = dynamic ; forget to tweak pm.* to fit your needs. ; Note: Used when pm is set to 'static', 'dynamic' or 'ondemand' ; Note: This value is mandatory. -pm.max_children = 10 +pm.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 = 1 ; The desired minimum number of idle server processes. ; Note: Used only when pm is set to 'dynamic' @@ -111,7 +111,7 @@ pm.min_spare_servers = 1 ; The desired maximum number of idle server processes. ; Note: Used only when pm is set to 'dynamic' ; Note: Mandatory when pm is set to 'dynamic' -pm.max_spare_servers = 3 +pm.max_spare_servers = 2 ; The number of seconds after which an idle process will be killed. ; Note: Used only when pm is set to 'ondemand'