X-Git-Url: https://git.openstreetmap.org/chef.git/blobdiff_plain/e9d337c2a49d120a8dcb508879d74f6bab5b84d9..e47ce8c5fb7b456fcf36a6d6253a71e1da9fa729:/roles/poldi.rb diff --git a/roles/poldi.rb b/roles/poldi.rb index 6b0b0100f..cc6a278e4 100644 --- a/roles/poldi.rb +++ b/roles/poldi.rb @@ -56,10 +56,10 @@ default_attributes( :defaults => { :shared_buffers => "10GB", :work_mem => "160MB", - :maintenance_work_mem => "16GB", + :maintenance_work_mem => "10GB", :random_page_cost => "1.5", :effective_cache_size => "48GB", - :fsync => "off" + :fsync => "on" } } }, @@ -73,13 +73,27 @@ default_attributes( }, :fpm_pools => { :www => { + :port => "8000", :pm => "dynamic", :max_children => "60" }, :bulk => { + :port => "8001", :pm => "static", :max_children => "10" } + }, + :tablespaces => { + "Osm2pgsql_Data" => "aux", + "Osm2pgsql_Index" => "data", + "Place_Data" => "ssd2", + "Place_Index" => "ssd1", + "Address_Data" => "ssd2", + "Address_Index" => "ssd1", + "Search_Data" => "ssd1", + "Search_Index" => "ssd1", + "Aux_Data" => "aux", + "Aux_Index" => "aux", } } )