[Rails] How do you up the FCGI timeout setting?
Jason Hoffman
jason at one.textdrive.com
Wed Jan 5 03:52:47 GMT 2005
On Jan 4, 2005, at 7:35 PM, Lars Pind wrote:
> David wrote about watching the timeout for FCGI:
> http://weblog.rubyonrails.com/archives/2005/01/03/watch-for-huge-
> requests-on-default-fcgi/#comments
> But where's the setting? Is it in the apache config file, in Rails
> somewhere, or?
>
> /Lars
>
I don't know what they're using but here's how I config it for PHP and
Ruby dynamic apps in Apache2
<IfModule mod_fastcgi.c>
FastCgiIpcDir /usr/local/www/fcgi_ipc/tmp
AddHandler fastcgi-script .fcgi
FastCgiSuexec /usr/local/sbin/suexec
FastCgiConfig -singleThreshold 100 -killInterval 300 -autoUpdate
-idle-timeout 120 -pass-header HTTP_AUTHORIZATION
</IfModule>
That's at least the FastCGI config for textdrive.com (PHP5-fastcgi),
rubyonrails.org (PHP4-fastcgi and Ruby), standardbehaviour.com (Ruby)
and wordpress.org (PHP5-fastcgi) ....
At least I'm assuming that David's using fcgi for
manuals.rubyonrails.org, I know Marten is using it for
standardbehaviour.com.
- Jason
More information about the Rails
mailing list