Displaying 5 results from an estimated 5 matches for "killinterval".
2005 Sep 28
2
fastcgi timeout settings
...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
2005 Dec 23
1
FastCGI and large file uploads
...eamhost for my hosting provider, and I am working on app where
it requires large files (max 10 MB) to be uploaded to the server. As
of right now the fastcgi processes are configured with:
FastCgiConfig -autoUpdate -initial-env RAILS_ENV=production \
-idle-timeout 120 -maxClassProcesses 5 -killInterval 300
My problem is that I try and upload a file via the web that is around
5 MB to the fastcgi process, the webbrowser sits for a few minutes,
then an error message comes back. Uploading via the webrick server
works fine. Does anyone know what the problem is? Is the
idle-timeout set too low?
Re...
2005 May 10
8
fastcgi approach?
I''ve just had a problem with fastcgi killing processes off while they
were running (I have a long-running background process)... but it took
me a while to track it down and pinpoint that fastcgi was asking the
process to quit. So i was thinking if it would be a good idea to tweak
the way ruby-fastcgi handles this.
At the moment, in fcgi.rb (part of the fcgi gem) there is
2006 Jul 14
0
avoiding the application startup time
...le to reload their configs?
- are their any issues with this setup?
Out of interest this is our current fastcgi configuration in our httpd.conf
<IfModule mod_fastcgi.c>
FastCgiIpcDir /tmp/fcgi/
AddHandler fastcgi-script .fcgi
FastCgiWrapper On
FastCgiConfig -autoUpdate -singleThreshold 100 -killInterval 300
-idle-timeout 240 -initial-env RAILS_ENV=production
</IfModule>
Thanks
2006 May 30
0
Performance problem with Apache-FCGI-Rails
...l 1.0 application running on Apache 1.3 with FastCGI. The
httpd.conf has :
<IfModule mod_fastcgi.c>
FastCgiIpcDir /tmp/fcgi_ipc
FastCgiServer /root/zs/public/dispatch.fcgi -processes 2
FastCgiConfig -autoUpdate -initial-env RAILS_ENV=production
-idle-timeout 120
-maxClassProcesses 2 -killInterval 300
</IfModule>
The dispatch.fcgi is the default provided in the Rails app:
#! /usr/local/bin/ruby
require File.dirname(__FILE__) + "/../config/environment"
require ''fcgi_handler''
RailsFCGIHandler.process!
When one person is remotely accessing the application,...