]> git.openstreetmap.org Git - chef.git/commitdiff
tilecache: increase somaxconn
authorGrant Slater <git@firefishy.com>
Fri, 16 Aug 2019 20:22:03 +0000 (21:22 +0100)
committerGrant Slater <git@firefishy.com>
Fri, 16 Aug 2019 20:26:33 +0000 (21:26 +0100)
roles/tilecache.rb

index f45286e374a7fef5792d829032b22db9a10e5a2f..645d107d0e57c7706730e0aae1b4e42c7be61587 100644 (file)
@@ -19,6 +19,12 @@ default_attributes(
     :access_log => false
   },
   :sysctl => {
+    :sockets => {
+      :comment => "Increase size of connection queue",
+      :parameters => {
+        "net.core.somaxconn" => 10000
+      }
+    },
     :network_conntrack_time_wait => {
       :comment => "Only track completed connections for 30 seconds",
       :parameters => {