X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/20168f91d6856d07a4744f2a1054d6e62cea2fb7..aa021667850f91e844916ba59ed06602a2079fe8:/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" } )