]> git.openstreetmap.org Git - chef.git/commitdiff
Tune apache for taginfo
authorTom Hughes <tom@compton.nu>
Mon, 10 Feb 2014 22:37:47 +0000 (22:37 +0000)
committerTom Hughes <tom@compton.nu>
Mon, 10 Feb 2014 22:37:47 +0000 (22:37 +0000)
roles/taginfo.rb

index 5d0fa4f45de60a894c5bb6821caca6b05e66e7a4..a6496b23dce3f9df258104fdc2d562ad2d6f345c 100644 (file)
@@ -13,6 +13,17 @@ default_attributes(
       }
     }
   },
+  :apache => {
+    :mpm => "event",
+    :event => {
+      :server_limit => 40,
+      :max_clients => 1000,
+      :min_spare_threads => 50,
+      :max_spare_threads => 150,
+      :threads_per_child => 50,
+      :max_requests_per_child => 10000
+    }
+  },
   :taginfo => {
     :sites => [
       {