X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/abe750320d58b744400f97161741e4ab26711034..00c51ae229ebd4b15841b7a6f0f80098b02492b0:/roles/wiki.rb diff --git a/roles/wiki.rb b/roles/wiki.rb index 057131b91..f7e20459f 100644 --- a/roles/wiki.rb +++ b/roles/wiki.rb @@ -42,6 +42,14 @@ default_attributes( :chunk_growth_factor => 1.25, :min_item_size => 48 }, + :sysctl => { + :swappiness => { + :comment => "Reduce swap usage", + :parameters => { + "vm.swappiness" => 10 + } + } + }, :mysql => { :settings => { :mysqld => {