From beb4a88bd28fe5c23d36309b66cbf0025c7db657 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Mon, 10 Jul 2017 09:58:44 +0100 Subject: [PATCH] php systemd interval --- src/freedombone-utils-web | 1 + 1 file changed, 1 insertion(+) diff --git a/src/freedombone-utils-web b/src/freedombone-utils-web index 41ce72a9..19e1c343 100755 --- a/src/freedombone-utils-web +++ b/src/freedombone-utils-web @@ -568,6 +568,7 @@ function install_web_server { # limit the number of php processes sed -i 's/; process.max =.*/process.max = 32/g' /etc/php/7.0/fpm/php-fpm.conf #sed -i 's/;process_control_timeout =.*/process_control_timeout = 300/g' /etc/php/7.0/fpm/php-fpm.conf + sed -i 's|;systemd_interval.*|systemd_interval = 10|g' /etc/php/7.0/fpm/php-fpm.conf if ! grep -q "pm.max_children" /etc/php/7.0/fpm/php-fpm.conf; then echo 'pm.max_children = 10' >> /etc/php/7.0/fpm/php-fpm.conf