diff options
author | Louise Crow <louise.crow@gmail.com> | 2012-10-03 14:23:36 +0100 |
---|---|---|
committer | Louise Crow <louise.crow@gmail.com> | 2012-10-03 14:25:25 +0100 |
commit | f952be7693595642e0e5d66853528406af92b1b6 (patch) | |
tree | 5e311abfa242315f7d11fc314ac3285aacd1308b | |
parent | ba62177bd465a4542e57781d6eb88b4e34abb278 (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.conf | 2 |
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> |