tilecache: increase local available port range
authorGrant Slater <git@firefishy.com>
Wed, 6 Mar 2019 09:56:56 +0000 (09:56 +0000)
committerGrant Slater <git@firefishy.com>
Wed, 6 Mar 2019 09:56:56 +0000 (09:56 +0000)
roles/tilecache.rb

index c7f4ac75a95d7f09d5aa8a6caa24782d1149c9b4..38dea9b12041d0b44186e02d4cd50c24f3538cc0 100644 (file)
@@ -28,6 +28,12 @@ default_attributes(
         "net.netfilter.nf_conntrack_max" => "262142"
       }
     },
+    :network_local_port_range => {
+      :comment => "Increase available local port range",
+      :parameters => {
+        "net.ipv4.ip_local_port_range" => "4096 64000"
+      }
+    },
     :kernel_tfo_listen_enable => {
       :comment => "Enable TCP Fast Open for listening sockets",
       :parameters => {