aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--config/httpd-vhost.conf-example6
1 files changed, 5 insertions, 1 deletions
diff --git a/config/httpd-vhost.conf-example b/config/httpd-vhost.conf-example
index 2cb6dced0..2bca09ce9 100644
--- a/config/httpd-vhost.conf-example
+++ b/config/httpd-vhost.conf-example
@@ -29,7 +29,11 @@
# Set this to something like 100 if you have memory leak issues
PassengerMaxRequests 2000
PassengerResolveSymlinksInDocumentRoot on
- PassengerMaxPoolSize 6
+ # Passenger's default MaxPoolSize is 6. At the time of writing
+ # normal instances of Alaveteli seem to take 150-200MB per
+ # process, so we've set this conservatively at 3. Read the guides
+ # above to tune this for your system
+ PassengerMaxPoolSize 3
RailsEnv production
RackEnv production