]> git.openstreetmap.org Git - chef.git/blobdiff - roles/shenron.rb
Tune apache on shenron
[chef.git] / roles / shenron.rb
index 191c6429ff7c4b8bcec17cb621fa82d7e297f71b..d6e8ff9c5f5e97670cb791b137598e01c1dd4326 100644 (file)
@@ -7,20 +7,36 @@ default_attributes(
       :bretth => {
         :status => :user,
         :shell => "/usr/bin/git-shell"
-      },
+      }
     }
   },
   :apache => {
     :mpm => "event",
     :event => {
-      :max_requests_per_child => 2000
+      :min_spare_threads => 50,
+      :max_spare_threads => 150
     }
   },
   :hardware => {
     :modules => [
       "it87"
-    ],
+    ]
   },
+  :openvpn => {
+    :address => "10.0.16.3",
+    :tunnels => {
+      :shenron2ucl => {
+        :port => "1194",
+        :mode => "server",
+        :peer => {
+          :host => "ridley.openstreetmap.org"
+        }
+      }
+    }
+  }
+)
+
+override_attributes(
   :networking => {
     :interfaces => {
       :external_ipv4 => {
@@ -38,18 +54,6 @@ default_attributes(
         :address => "2001:41c9:1:400::32",
         :prefix => "64",
         :gateway => "fe80::1"
-      },
-    }
-  },
-  :openvpn => {
-    :address => "10.0.16.3",
-    :tunnels => {
-      :shenron2ucl => {
-        :port => "1194",
-        :mode => "server",
-        :peer => {
-          :host => "ridley.openstreetmap.org"
-        }
       }
     }
   }