I have few lengthly processes in my application, and I''m getting fastcgi timeout after 30 seconds. From apache log: FastCGI: comm with (dynamic) server "D:/projects/MojAlbum/public/dispatch.fcgi" aborted: (first read) idle timeout (30 sec), referer: http://mojalbum.4dva.hr/albumi/moji I tried to set timeout in apache conf by: <IfModule> FastCgiConfig -killInterval 900 -idle-timeout 900 AddHandler fastcgi-script .fcgi </IfModule> but nothing changes. What I,m missing? Where could I set fastcgi timeout to be a little longer? Thanks, Igor
Try setting the -appConnTimeout and -startDelay options. -----Original Message----- From: rails-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org [mailto:rails-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org] On Behalf Of Igor Anic Sent: Wednesday, September 28, 2005 9:45 AM To: Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org Subject: [Rails] fastcgi timeout settings I have few lengthly processes in my application, and I''m getting fastcgi timeout after 30 seconds. From apache log: FastCGI: comm with (dynamic) server "D:/projects/MojAlbum/public/dispatch.fcgi" aborted: (first read) idle timeout (30 sec), referer: http://mojalbum.4dva.hr/albumi/moji I tried to set timeout in apache conf by: <IfModule> FastCgiConfig -killInterval 900 -idle-timeout 900 AddHandler fastcgi-script .fcgi </IfModule> but nothing changes. What I,m missing? Where could I set fastcgi timeout to be a little longer? Thanks, Igor
Configuration should be written as: <IfModule> AddHandler fastcgi-script .fcgi </IfModule> FastCgiConfig -idle-timeout 900 This works. Igor Anic wrote:> I have few lengthly processes in my application, and I''m getting fastcgi > timeout after 30 seconds. > > From apache log: > > FastCGI: comm with (dynamic) server > "D:/projects/MojAlbum/public/dispatch.fcgi" aborted: (first read) idle > timeout (30 sec), referer: http://mojalbum.4dva.hr/albumi/moji > > > I tried to set timeout in apache conf by: > > <IfModule> > FastCgiConfig -killInterval 900 -idle-timeout 900 > AddHandler fastcgi-script .fcgi > </IfModule> > > but nothing changes. > > What I,m missing? > Where could I set fastcgi timeout to be a little longer? > > Thanks, > Igor > > > _______________________________________________ > Rails mailing list > Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails > >