]> git.openstreetmap.org Git - chef.git/commitdiff
Avoid constantly setting TCP memory limits
authorTom Hughes <tom@compton.nu>
Fri, 13 Nov 2020 10:23:54 +0000 (10:23 +0000)
committerTom Hughes <tom@compton.nu>
Fri, 13 Nov 2020 10:23:54 +0000 (10:23 +0000)
roles/base.rb

index 310b2ddf1876e178cac58d5e3ba6e5b1e3eebcdc..4d453e45ce32d779f0dc67fdfd83ecca58387d3c 100644 (file)
@@ -41,9 +41,9 @@ default_attributes(
       :parameters => {
         "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.udp_mem" => "3145728\t4194304\t16777216"
+        "net.ipv4.tcp_rmem" => "4096 87380 16777216",
+        "net.ipv4.tcp_wmem" => "4096 65536 16777216",
+        "net.ipv4.udp_mem" => "3145728 4194304 16777216"
       }
     },
     :network_backlog => {