aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobin Houston <robin@mysociety.org>2011-10-17 23:42:40 +0100
committerroot <root@wildfire.ukcod.org.uk>2011-10-17 23:44:20 +0100
commit33a6624174c28125d892be7b05894afca56c5c7a (patch)
tree9d3974ba1eb81ded71ee0aac438ac464fd77f8b5
parent9db5b555814a53430371013a6aa0d4a949555437 (diff)
Try a very low PassengerMaxRequests
An experiment to see whether a very low value for PassengerMaxRequests will improve the memory usage of the application.
-rw-r--r--config/httpd.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/httpd.conf b/config/httpd.conf
index 47e7f9c72..14197d8e4 100644
--- a/config/httpd.conf
+++ b/config/httpd.conf
@@ -34,7 +34,7 @@ RewriteRule /files/(.+) http://files.whatdotheyknow.com/$1
<IfModule mod_passenger.c>
# Set this to something like 100 if you have memory leak issues
- PassengerMaxRequests 0
+ PassengerMaxRequests 20
PassengerResolveSymlinksInDocumentRoot on
# Recommend setting this to 3 or less on servers with 512MB RAM
PassengerMaxPoolSize 6