]> git.openstreetmap.org Git - chef.git/blobdiff - roles/nadder-01.rb
tilecache: compress immediately on logrotate
[chef.git] / roles / nadder-01.rb
index 1e75f0d8a2dd000b9433135e96c2df743127daaa..b086e238e90fce6c369ab5590786fbde5514dccd 100644 (file)
@@ -14,9 +14,26 @@ default_attributes(
       }
     }
   },
+  :sysfs => {
+    :hdd_tune => {
+      :comment => "Tune the queue for improved performance",
+      :parameters => {
+        "block/vda/queue/nr_requests" => "512",
+        "block/vdb/queue/nr_requests" => "512",
+        "block/vda/queue/scheduler" => "deadline",
+        "block/vdb/queue/scheduler" => "deadline"
+      }
+    }
+  },
   :squid => {
-    :cache_mem => "1500 MB",
+    :cache_mem => "6500 MB",
     :cache_dir => "coss /store/squid/coss-01 128000 block-size=8192 max-size=262144 membufs=80"
+  },
+  :tilecache => {
+    :tile_parent => "provo.render.openstreetmap.org",
+    :tile_siblings => [
+      "nadder-02.openstreetmap.org"
+    ]
   }
 )