]> git.openstreetmap.org Git - chef.git/blobdiff - roles/tilecache.rb
Make sure cgimap uses the writable database for updates
[chef.git] / roles / tilecache.rb
index c7f4ac75a95d7f09d5aa8a6caa24782d1149c9b4..e2cad2518cfa613ce49684c12019a818b42c2793 100644 (file)
@@ -25,7 +25,13 @@ default_attributes(
     :network_conntrack_max => {
       :comment => "Increase max number of connections tracked",
       :parameters => {
-        "net.netfilter.nf_conntrack_max" => "262142"
+        "net.netfilter.nf_conntrack_max" => "524288"
+      }
+    },
+    :network_local_port_range => {
+      :comment => "Increase available local port range",
+      :parameters => {
+        "net.ipv4.ip_local_port_range" => "4096 64000"
       }
     },
     :kernel_tfo_listen_enable => {