aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLouise Crow <louise.crow@gmail.com>2012-10-03 14:23:36 +0100
committerLouise Crow <louise.crow@gmail.com>2012-10-03 14:25:25 +0100
commitf952be7693595642e0e5d66853528406af92b1b6 (patch)
tree5e311abfa242315f7d11fc314ac3285aacd1308b
parentba62177bd465a4542e57781d6eb88b4e34abb278 (diff)
Set the PassengerMinInstances variable - this spawns a certain number of instances on the first request. I suspect that some of the slowness we see in WDTK is time taken to spawn new instances.
-rw-r--r--config/httpd.conf2
1 files changed, 2 insertions, 0 deletions
diff --git a/config/httpd.conf b/config/httpd.conf
index 129b1577b..9e6b39c12 100644
--- a/config/httpd.conf
+++ b/config/httpd.conf
@@ -52,6 +52,8 @@ RewriteRule ^/request/((\d{1,3})\d*)/(response/\d+/attach/(html/)?\d+/.+) /views
PassengerResolveSymlinksInDocumentRoot on
# Recommend setting this to 3 or less on servers with 512MB RAM
PassengerMaxPoolSize 6
+ # Minimum number of instances that will be maintained
+ PassengerMinInstances 6
RailsEnv production
</IfModule>