X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/75de7f924c8f67b5feae7d2666e81da94a695928..6694697e2851ac362546d34cf12f146633be3782:/roles/jakelong.rb?ds=inline diff --git a/roles/jakelong.rb b/roles/jakelong.rb index 91dd691b7..3af3e5152 100644 --- a/roles/jakelong.rb +++ b/roles/jakelong.rb @@ -23,9 +23,8 @@ default_attributes( } }, :squid => { - :version => 3, - :cache_mem => "350 MB", - :cache_dir => "rock /store/squid/rock-01 7500 swap-timeout=300 max-swap-rate=50 slot-size=4096 max-size=262144" + :cache_mem => "200 MB", + :cache_dir => "coss /store/squid/coss-01 7500 block-size=8192 max-size=262144 membufs=30" }, :sysctl => { :kvm => { @@ -34,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" } } },