diff modules/website/manifests/php.pp @ 462:2f2ecf1f0215

Reduce PHP FPM overheads * Reduce "max idle servers", which leaves LOTS of unused servers sitting around most of the time * Remove old, unused static config file
author IBBoard <dev@ibboard.co.uk>
date Sat, 18 Nov 2023 18:38:12 +0000
parents d0e7979c7e8c
children 2c3e745be8d2
line wrap: on
line diff
--- a/modules/website/manifests/php.pp	Sun Sep 17 15:20:12 2023 +0100
+++ b/modules/website/manifests/php.pp	Sat Nov 18 18:38:12 2023 +0000
@@ -45,6 +45,9 @@
         'php_value' => {
 #          'session.save_path' => '/var/lib/php/session' # Ubuntu uses plural, CentOS uses singular
         },
+        'pm_start_servers' => 5,
+        'pm_min_spare_servers' => 5,
+        'pm_max_spare_servers' => 10,
       },
     },
     dev => false,