X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/c0f61af9bd7c58bdf7c36c4d42832aeb71f0913e..af15903afd5ebb369bd9634892937eefcb34d20a:/roles/gorynych.rb diff --git a/roles/gorynych.rb b/roles/gorynych.rb index 3d2b038d5..984b2aa75 100644 --- a/roles/gorynych.rb +++ b/roles/gorynych.rb @@ -14,9 +14,21 @@ default_attributes( } } }, + :sysfs => { + :md_tune => { + :comment => "Tune the md sync performance so as not to kill system performance", + :parameters => { + "block/md0/md/sync_speed_min" => "10", + "block/md0/md/sync_speed_max" => "10000" + } + } + }, :squid => { :cache_mem => "5800 MB", :cache_dir => "coss /store/squid/coss-01 128000 block-size=8192 max-size=262144 membufs=80" + }, + :tilecache => { + :tile_parent => "moscow.render.openstreetmap.org" } )