X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/00c039bb5466b2e22ab28ef7c6c83cd22b3b7d47..4d7d82b464dbf2713991e62815502c825b9444d7:/roles/jakelong.rb diff --git a/roles/jakelong.rb b/roles/jakelong.rb index abe8d31bb..bed6b295d 100644 --- a/roles/jakelong.rb +++ b/roles/jakelong.rb @@ -23,7 +23,7 @@ default_attributes( } }, :squid => { - :cache_mem => "400 MB", + :cache_mem => "250 MB", :cache_dir => "coss /store/squid/coss-01 7500 block-size=8192 max-size=262144 membufs=30" }, :sysctl => { @@ -33,13 +33,11 @@ default_attributes( "kernel.sched_min_granularity_ns" => 10000000, "kernel.sched_wakeup_granularity_ns" => 15000000 } - } - }, - :sysfs => { - :hdd_tune => { - :comment => "Tune the queue for improved performance", + }, + :network_conntrack_max => { + :comment => "Increase max number of connections tracked", :parameters => { - "block/xvda/queue/scheduler" => "deadline" + "net.netfilter.nf_conntrack_max" => "65536" } } },