X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/a194131b6ac8c700e2bdc10c2014b3b49bd876ac..b2835d8e4afbe35384457f63d55b2f21bbd027f6:/roles/nominatim.rb diff --git a/roles/nominatim.rb b/roles/nominatim.rb index 5ab242997..e6afd469f 100644 --- a/roles/nominatim.rb +++ b/roles/nominatim.rb @@ -54,6 +54,18 @@ default_attributes( :parameters => { "vm.swappiness" => 10 } + }, + :network_conntrack_time_wait => { + :comment => "Only track completed connections for 30 seconds", + :parameters => { + "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" + } } }, :nominatim => {