]> git.openstreetmap.org Git - chef.git/commitdiff
Increase kernel udp buffers
authorGrant Slater <git@firefishy.com>
Sat, 16 Feb 2019 11:54:04 +0000 (11:54 +0000)
committerGrant Slater <git@firefishy.com>
Sat, 16 Feb 2019 11:54:04 +0000 (11:54 +0000)
roles/base.rb

index 094190e1a8561d0c099ad0632322eb2199ece311..ca5956a7fe1e05cf9671b93c5064d2c328439a3c 100644 (file)
@@ -45,7 +45,8 @@ default_attributes(
         "net.core.rmem_max" => "16777216",
         "net.core.wmem_max" => "16777216",
         "net.ipv4.tcp_rmem" => "4096\t87380\t16777216",
-        "net.ipv4.tcp_wmem" => "4096\t65536\t16777216"
+        "net.ipv4.tcp_wmem" => "4096\t65536\t16777216",
+        "net.ipv4.udp_mem"  => "3145728\t4194304\t16777216"
       }
     },
     :network_backlog => {