diff modules/website/manifests/init.pp @ 84:ae30d98f294f puppet-3.6

Drop the number of spare servers to save some memory when we normally only have a couple of processes at once
author IBBoard <dev@ibboard.co.uk>
date Wed, 23 Dec 2015 11:16:17 +0000
parents 3674aac72674
children 00453eecda4c
line wrap: on
line diff
--- a/modules/website/manifests/init.pp	Tue Nov 24 20:48:36 2015 +0000
+++ b/modules/website/manifests/init.pp	Wed Dec 23 11:16:17 2015 +0000
@@ -33,7 +33,11 @@
     mpm_module => false,
   }
   class { 'apache::mod::dir': indexes => [ 'index.html' ] }
-  class { 'apache::mod::prefork': serverlimit => 45, maxclients => 45 }
+  class { 'apache::mod::prefork':
+    serverlimit => 45,
+    maxclients => 45,
+    maxspareservers => 10,
+  }
   apache::mod {
     'rewrite':;
     'expires':; 'setenvif':; 'headers':;