From a6bc4d6e40332aad2a026b54282efad7fa22acf3 Mon Sep 17 00:00:00 2001 From: Grant Slater Date: Wed, 16 Jul 2014 16:55:57 +0100 Subject: [PATCH] Tilecaches: Double default conntrack limit, better handle peaks --- roles/tilecache.rb | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/roles/tilecache.rb b/roles/tilecache.rb index bbabdea11..8e1262e81 100644 --- a/roles/tilecache.rb +++ b/roles/tilecache.rb @@ -12,6 +12,12 @@ default_attributes( "net.netfilter.nf_conntrack_tcp_timeout_time_wait" => "30" } }, + :network_conntrack_max => { + :comment => "Increase max number of connections tracked", + :parameters => { + "net.netfilter.nf_conntrack_max" => "131072" + } + }, :squid_swappiness => { :comment => "Prefer not to swapout to free memory", :parameters => { -- 2.43.2