changeset 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 b7c8f97017e5
children 50dd78dbf3db
files modules/website/manifests/init.pp
diffstat 1 files changed, 5 insertions(+), 1 deletions(-) [+]
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':;