From 7d4df39457b085e1e29d51399b2168ec9b4d1279 Mon Sep 17 00:00:00 2001 From: Shihaam Abdul Rahman Date: Fri, 14 Feb 2025 05:44:20 +0500 Subject: [PATCH] ai retarded --- .build/php-fpm.conf | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/.build/php-fpm.conf b/.build/php-fpm.conf index c7d234c..e506ac3 100644 --- a/.build/php-fpm.conf +++ b/.build/php-fpm.conf @@ -1,7 +1,12 @@ -# Increase max execution time -max_execution_time = 300 +pid = /var/run/php-fpm.pid +error_log = /dev/stderr +emergency_restart_threshold = 10 +emergency_restart_interval = 1m +process_control_timeout = 10s -# Increase process manager settings +; In www.conf or your pool configuration file +[www] +; Process manager settings pm = dynamic pm.max_children = 50 pm.start_servers = 5 @@ -9,8 +14,8 @@ pm.min_spare_servers = 5 pm.max_spare_servers = 35 pm.max_requests = 500 -# Increase request timeout -request_terminate_timeout = 300s +; Timeout settings +request_terminate_timeout = 300 [global] include=etc/php-fpm.d/*.conf