]> git.openstreetmap.org Git - chef.git/blobdiff - roles/poldi.rb
add ports for fpm pools on poldi
[chef.git] / roles / poldi.rb
index 6fae55939b2ffecec9ef7092c323cf7bc4d694e5..e9961cafa699aa8147a686e69ebb1d5ac5ed4c1a 100644 (file)
@@ -54,12 +54,12 @@ default_attributes(
     :versions => [ "9.3" ],
     :settings => {
       :defaults => {
-        :shared_buffers => "24GB",
+        :shared_buffers => "10GB",
         :work_mem => "160MB",
         :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"
         }