Increase net.core.netdev_budget allowance
authorGrant Slater <git@firefishy.com>
Sat, 16 Feb 2019 12:43:10 +0000 (12:43 +0000)
committerGrant Slater <git@firefishy.com>
Sat, 16 Feb 2019 12:58:01 +0000 (12:58 +0000)
roles/base.rb

index 3fab5ba8b5ea0fbebbf44f3e6d516204db7cbb53..d680fddb110e442b3043d208d6b83e0cb21cebb1 100644 (file)
@@ -51,7 +51,10 @@ default_attributes(
     },
     :network_backlog => {
       :comment => "Increase maximum backlog for incoming network packets",
-      :parameters => { "net.core.netdev_max_backlog" => "2500" }
+      :parameters => {
+        "net.core.netdev_max_backlog" => "2500",
+        "net.core.netdev_budget" => "600"
+      }
     },
     :network_conntrack_established => {
       :comment => "Only track established connections for four hours",