From 7936a964e94aea37658cf5f7ffca50d8de4732a3 Mon Sep 17 00:00:00 2001 From: Adrian Malacoda Date: Sun, 1 Jan 2017 00:40:12 -0600 Subject: [PATCH] php5-fpm performance tweaking --- configuration/php-fpm-pool.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configuration/php-fpm-pool.conf b/configuration/php-fpm-pool.conf index 561d4ae5..fd1d415d 100644 --- a/configuration/php-fpm-pool.conf +++ b/configuration/php-fpm-pool.conf @@ -70,7 +70,7 @@ group = www-data ; of 'idle' processes is greater than this ; number then some children will be killed. ; Note: This value is mandatory. -pm = dynamic +pm = ondemand ; The number of child processes to be created when pm is set to 'static' and the ; maximum number of child processes to be created when pm is set to 'dynamic'. @@ -80,7 +80,7 @@ pm = dynamic ; CGI. ; Note: Used when pm is set to either 'static' or 'dynamic' ; Note: This value is mandatory. -pm.max_children = 6 +pm.max_children = 50 ; The number of child processes created on startup. ; Note: Used only when pm is set to 'dynamic'