X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/9d90370505a4638b0225f7091de0217c330f3739..10e095f69e2a4eb4820323ca6e350a992f551126:/roles/jakelong.rb diff --git a/roles/jakelong.rb b/roles/jakelong.rb index 60b1577e9..3af3e5152 100644 --- a/roles/jakelong.rb +++ b/roles/jakelong.rb @@ -23,9 +23,8 @@ default_attributes( } }, :squid => { - :version => 3, - :cache_mem => "400 MB", - :cache_dir => "rock /store/squid/rock-01 7500 swap-timeout=500 max-swap-rate=100 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" } } },