From: Grant Slater Date: Wed, 1 Jun 2016 22:59:55 +0000 (+0100) Subject: imagery: sysctl to enable TFO on socket listen X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/7117b830c7c0069ff9591147f52ce15c1bf2c79a imagery: sysctl to enable TFO on socket listen --- diff --git a/roles/imagery.rb b/roles/imagery.rb index ba3009852..16195af6f 100644 --- a/roles/imagery.rb +++ b/roles/imagery.rb @@ -27,6 +27,12 @@ default_attributes( "kernel.sched_min_granularity_ns" => 10000000, "kernel.sched_wakeup_granularity_ns" => 15000000 } + }, + :kernel_tfo_listen_enable => { + :comment => "Enable TCP Fast Open for listening sockets", + :parameters => { + "net.ipv4.tcp_fastopen" => 3 + } } }, :nginx => {