X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/664414939e418b88a370ae31d6cff3245322e7bc..5b3255591fe355642dcb2278831a394b2755019b:/roles/tilecache.rb diff --git a/roles/tilecache.rb b/roles/tilecache.rb index f45286e37..adce84808 100644 --- a/roles/tilecache.rb +++ b/roles/tilecache.rb @@ -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 => { @@ -46,7 +52,7 @@ default_attributes( :squid_swappiness => { :comment => "Prefer not to swapout to free memory", :parameters => { - "vm.swappiness" => "30" + "vm.swappiness" => "1" } }, :sched_wakeup => {