Increase passenger queue size on frontend machines
authorTom Hughes <tom@compton.nu>
Tue, 31 Mar 2015 16:59:21 +0000 (17:59 +0100)
committerTom Hughes <tom@compton.nu>
Tue, 31 Mar 2015 16:59:21 +0000 (17:59 +0100)
The default of 100 is a little too low and can cause us to drop
some requests during a restart of apache.

cookbooks/web/templates/default/apache.frontend.erb

index d0dc52787f0f2614c1473e564a5686559fa544ec..627bf6ec00e9d518240b8c15feb8be63c9f2640f 100644 (file)
   RailsEnv production
   PassengerMinInstances 10
   PassengerMaxRequests 5000
+  PassengerMaxRequestQueueSize 250
 <% if port == 443 -%>
   PassengerPreStart https://www.openstreetmap.org/
 <% else -%>