Browse Source

php systemd interval

Bob Mottram 7 years ago
parent
commit
beb4a88bd2
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      src/freedombone-utils-web

+ 1
- 0
src/freedombone-utils-web View File

@@ -568,6 +568,7 @@ function install_web_server {
568 568
     # limit the number of php processes
569 569
     sed -i 's/; process.max =.*/process.max = 32/g' /etc/php/7.0/fpm/php-fpm.conf
570 570
     #sed -i 's/;process_control_timeout =.*/process_control_timeout = 300/g' /etc/php/7.0/fpm/php-fpm.conf
571
+    sed -i 's|;systemd_interval.*|systemd_interval = 10|g' /etc/php/7.0/fpm/php-fpm.conf
571 572
 
572 573
     if ! grep -q "pm.max_children" /etc/php/7.0/fpm/php-fpm.conf; then
573 574
         echo 'pm.max_children = 10' >> /etc/php/7.0/fpm/php-fpm.conf