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:23:36 +0100
commit62e48041f566e58c843e358fb69a45d9b3b93b64 (patch)
tree1fa1c90043902dca91420d3ed18c5b6e514ef032
parent6e995a233997f1e555297a8eb37e80949e466e23 (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>