[Rails] How do you up the FCGI timeout setting?

Jason Hoffman jason at one.textdrive.com
Wed Jan 5 07:29:34 GMT 2005


On Jan 4, 2005, at 9:16 PM, Tobias Luetke wrote:

> Just adding to this. For ruby apps on production servers i would add
> -restart -initial-env RAILS_ENV=production to the FastCgiConfig
> directive. Especially -restart seemed to have fixed a lot of fastcgi
> quirks with applications which where never started again after a
> crash.

Restart is quite nice, just don't use it with autoupdate that had in 
the last one, historically they haven't liked each other. And if you do 
this under a suexec situation, the env variables like RAILS_ENV likely 
have to be moved into a wrapper.

And once things are really running, then it's time to pay with 
-processSlack (nice one under load), -maxProcesses and 
-listen-queue-depth.

- Jason



More information about the Rails mailing list