aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSeb Bacon <seb.bacon@gmail.com>2011-07-26 14:33:45 +0100
committerRobin Houston <robin.houston@gmail.com>2011-07-26 16:30:55 +0100
commitc9d177817c3b891c0bda9f63156c1f2ccaeeb157 (patch)
treed8fa244c18dc030dd6b0584f11c0f9913512c532
parent708f8d6277bd0f218f8b85c1cc741fa2917fcb44 (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