diff options
author | Seb Bacon <seb.bacon@gmail.com> | 2011-09-20 11:29:23 +0100 |
---|---|---|
committer | Seb Bacon <seb.bacon@gmail.com> | 2011-09-20 11:29:23 +0100 |
commit | a146bda7e4c1ccf5f15c0866eafb649d162592a0 (patch) | |
tree | d44686d2df363123a63424dca842a9aae480ce0e | |
parent | 6800b9ff3fc77aa441afbdb0b0196afbdd87d8b4 (diff) |
Note that PassengerMaxPoolSize should be set to a low number where there's small amounts of RAM. Closes #179.
-rw-r--r-- | config/httpd.conf | 1 | ||||
-rw-r--r-- | doc/INSTALL.md | 7 |
2 files changed, 7 insertions, 1 deletions
diff --git a/config/httpd.conf b/config/httpd.conf index 108402f69..7389e303b 100644 --- a/config/httpd.conf +++ b/config/httpd.conf @@ -36,4 +36,5 @@ RewriteRule /files/(.+) http://files.whatdotheyknow.com/$1 # Set this to something like 100 if you have memory leak issues PassengerMaxRequests 0 PassengerResolveSymlinksInDocumentRoot on + PassengerMaxPoolSize 6 # Recommend setting this to 3 or less on servers with 512MB RAM </IfModule>
\ No newline at end of file diff --git a/doc/INSTALL.md b/doc/INSTALL.md index f6317057e..656b96467 100644 --- a/doc/INSTALL.md +++ b/doc/INSTALL.md @@ -237,7 +237,12 @@ It is not recommended to run the website using the default Rails web server. There are various recommendations here: http://rubyonrails.org/deploy -We usually use Passenger / mod_rails. +We usually use Passenger / mod_rails. The file at `conf/httpd.conf` +contains the WhatDoTheyKnow settings. At a minimum, you should +include the following in an Apache configuration file: + + PassengerResolveSymlinksInDocumentRoot on + PassengerMaxPoolSize 6 # Recommend setting this to 3 or less on servers with 512MB RAM Under all but light loads, it is strongly recommended to run the server behind an http accelerator like Varnish. A sample varnish VCL |