aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSeb Bacon <seb.bacon@gmail.com>2011-07-26 14:33:45 +0100
committerSeb Bacon <seb.bacon@gmail.com>2011-07-26 14:33:45 +0100
commitc5fa30af70581c5b7e2e6f0fab7e06f615fb69f2 (patch)
tree5742895470a60ed90b432854c5ba20d5213b7ccf
parent04927e448f99f67bbfde88dd466f03fb23373b28 (diff)
Cause PassengerMaxRequests to be zero by default (in mySociety config this was set at 100, which strictly speaking is a debug-only setting)
-rw-r--r--config/httpd.conf4
1 files changed, 4 insertions, 0 deletions
diff --git a/config/httpd.conf b/config/httpd.conf
index bf8c3bd33..d5e86478a 100644
--- a/config/httpd.conf
+++ b/config/httpd.conf
@@ -32,3 +32,7 @@ RequestHeader add X-Forwarded-User %{RU}e
# files for archiving.
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
+</IfModule> \ No newline at end of file