]> git.openstreetmap.org Git - chef.git/blobdiff - roles/taginfo.rb
Tune apache for taginfo
[chef.git] / roles / taginfo.rb
index 2a273725f76b095b03edbce6db3a1538deee52aa..a6496b23dce3f9df258104fdc2d562ad2d6f345c 100644 (file)
@@ -13,12 +13,25 @@ default_attributes(
       }
     }
   },
-  :apt => {
-    :sources => [ "brightbox-ruby-ng" ]
+  :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 => [
-      { :name => "taginfo.openstreetmap.org" }
+      {
+        :name => "taginfo.openstreetmap.org",
+        :description => "This is the main taginfo site. It contains OSM data for the whole planet and is updated daily.",
+        :icon => "world",
+        :contact => "Jochen Topf <jochen@remote.org>"
+      }
     ]
   }
 )