]> git.openstreetmap.org Git - chef.git/commitdiff
Tune apache on the GPS tile server
authorTom Hughes <tom@compton.nu>
Thu, 21 Jun 2018 16:35:19 +0000 (17:35 +0100)
committerTom Hughes <tom@compton.nu>
Thu, 21 Jun 2018 16:35:19 +0000 (17:35 +0100)
roles/gps-tile.rb

index c699693ef0ba405cb34beed91186abf922b1dda6..285d461de69cea0ed216758151eda7cec42a8ebb 100644 (file)
@@ -10,6 +10,17 @@ default_attributes(
         :members => [:enf, :tomh]
       }
     }
         :members => [:enf, :tomh]
       }
     }
+  },
+  :apache => {
+    :mpm => "event",
+    :event => {
+      :server_limit => 20,
+      :max_request_workers => 1000,
+      :threads_per_child => 50,
+      :min_spare_threads => 50,
+      :max_spare_threads => 450,
+      :async_request_worker_factor => 4
+    }
   }
 )
 
   }
 )