]> git.openstreetmap.org Git - chef.git/blobdiff - roles/poldi.rb
add ports for fpm pools on poldi
[chef.git] / roles / poldi.rb
index 6b0b0100fdafc5a018cbca2a0e1d53cfdfe4299d..e9961cafa699aa8147a686e69ebb1d5ac5ed4c1a 100644 (file)
@@ -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,10 +73,12 @@ default_attributes(
     },
     :fpm_pools => {
         :www => {
+            :port => "8000",
             :pm => "dynamic",
             :max_children => "60"
         },
         :bulk => {
+            :port => "8001",
             :pm => "static",
             :max_children => "10"
         }