increase shared buffers for poldi
authorSarah Hoffmann <lonvia@denofr.de>
Sat, 14 Sep 2013 22:54:19 +0000 (00:54 +0200)
committerSarah Hoffmann <lonvia@denofr.de>
Sat, 14 Sep 2013 22:54:19 +0000 (00:54 +0200)
roles/nominatim.rb
roles/poldi.rb

index ccb9cf0d5120b21b68923e1324dcbaf422192098..7798a04e71219b4b0227b4334282d97922c3a4c6 100644 (file)
@@ -41,8 +41,8 @@ default_attributes(
     :postgres => {
       :comment => "Increase shared memory for postgres",
       :parameters => { 
-        "kernel.shmmax" => 16 * 1024 * 1024 * 1024,
-        "kernel.shmall" => 16 * 1024 * 1024 * 1024 / 4096
+        "kernel.shmmax" => 26 * 1024 * 1024 * 1024,
+        "kernel.shmall" => 26 * 1024 * 1024 * 1024 / 4096
       }
     }
   },
index 484e27d945e7fd5962c3d1a9257c39a5045e26e3..5f73b6239b07472e55c1663fed221d44bfc494c5 100644 (file)
@@ -50,7 +50,7 @@ default_attributes(
   :postgresql => {
     :settings => {
       :defaults => {
-        :shared_buffers => "12GB",
+        :shared_buffers => "24GB",
         :work_mem => "160MB",
         :maintenance_work_mem => "10GB",
         :random_page_cost => "1.5",