From 7d4c2f9d65c8ec988120232ecc457dbe2a16e25e Mon Sep 17 00:00:00 2001 From: Dmytro Smirnov Date: Mon, 23 Mar 2026 20:53:10 +0300 Subject: [PATCH 1/2] Increase max_children to 15 in www.conf --- etc/configs/php/www.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/etc/configs/php/www.conf b/etc/configs/php/www.conf index a571c0d..e87ec90 100644 --- a/etc/configs/php/www.conf +++ b/etc/configs/php/www.conf @@ -5,10 +5,10 @@ listen = /run/php/php${PHP_VERSION}-fpm.sock listen.owner = ${USER} listen.group = ${USER} pm = dynamic -pm.max_children = 5 +pm.max_children = 15 pm.start_servers = 2 pm.min_spare_servers = 1 pm.max_spare_servers = 3 ; Capture PHP worker output (including error_log) and send to FPM error log -catch_workers_output = yes \ No newline at end of file +catch_workers_output = yes From 3613fa6d31f79735dfbbf4e0e149a23c186341c0 Mon Sep 17 00:00:00 2001 From: Dmytro Smirnov Date: Mon, 23 Mar 2026 20:54:20 +0300 Subject: [PATCH 2/2] Adjust PHP-FPM process management settings --- etc/configs/php/www.conf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/etc/configs/php/www.conf b/etc/configs/php/www.conf index e87ec90..16bb16e 100644 --- a/etc/configs/php/www.conf +++ b/etc/configs/php/www.conf @@ -6,9 +6,9 @@ listen.owner = ${USER} listen.group = ${USER} pm = dynamic pm.max_children = 15 -pm.start_servers = 2 -pm.min_spare_servers = 1 -pm.max_spare_servers = 3 +pm.start_servers = 5 +pm.min_spare_servers = 3 +pm.max_spare_servers = 10 ; Capture PHP worker output (including error_log) and send to FPM error log catch_workers_output = yes