Re: [Catalyst] FASTCGI - configuring timeout

2008-10-02 Thread J. Shirley
On Thu, Oct 2, 2008 at 7:03 AM, Dermot [EMAIL PROTECTED] wrote:
 Hi,

 I am stretching the boundaries of the topic here I know but I thought
 someone might know this off the top of their head. I am getting
 timeout's. I am 99% sure this is because the Cat App is copying a
 500MB file on it filesystem.

  FastCGI: comm with server /var/www/MyApp/script/myapp_fastcgi.pl
 aborted: idle timeout (30 sec)
  FastCGI: incomplete headers (0 bytes) received from server
 /var/www/MyApp/script/myapp_fastcgi.pl


 I can't find any way to configure fastcgi.pl to increase the timeout
 via the _fastcgi.pl and changes to the httpd.conf seem to make no
 difference (at least the error always report a 30sec timeout).

 Can anyone offer any suggestions please?
 Dp.

Something tells me you didn't use Google:
http://www.fastcgi.com/mod_fastcgi/docs/mod_fastcgi.html#FastCgiExternalServer

-J

___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/


Re: [Catalyst] FASTCGI - configuring timeout

2008-10-02 Thread Christian Lackas
* Dermot [EMAIL PROTECTED] [081002 16:05]:

Hi Dermot,

  FastCGI: comm with server /var/www/MyApp/script/myapp_fastcgi.pl
 aborted: idle timeout (30 sec)
  FastCGI: incomplete headers (0 bytes) received from server
 /var/www/MyApp/script/myapp_fastcgi.pl

if you consult the mod_fastcgi docs you will find this:

http://www.fastcgi.com/mod_fastcgi/docs/mod_fastcgi.html#FastCgiServer
 -idle-timeout n (30 seconds)
 The number of seconds of FastCGI application inactivity allowed
 before the request is aborted and the event is logged (at the
 error LogLevel). The inactivity timer applies only as long as a
 connection is pending with the FastCGI application. If a
 request is queued to an application, but the application
 doesn't respond (by writing and flushing) within this period,
 the request will be aborted. If communication is complete with
 the application but incomplete with the client (the response is
 buffered), the timeout does not apply. 

 I can't find any way to configure fastcgi.pl to increase the timeout
 via the _fastcgi.pl and changes to the httpd.conf seem to make no
 difference (at least the error always report a 30sec timeout).

What changes to the httpd.conf did you do? 
Something like this (and restarting the server) should do the job:

FastCgiServer /path/to/script/ipacs_fastcgi.pl -processes 3 -idle-timeout 60

Christian

-- 
http://www.lackas.net/
http://www.inviCRO.com/
http://www.spect-ct.com/

___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/


Re: [Catalyst] FASTCGI - configuring timeout

2008-10-02 Thread Dermot
2008/10/2 Christian Lackas [EMAIL PROTECTED]:
 * Dermot [EMAIL PROTECTED] [081002 16:05]:

 Hi Dermot,

  FastCGI: comm with server /var/www/MyApp/script/myapp_fastcgi.pl
 aborted: idle timeout (30 sec)
  FastCGI: incomplete headers (0 bytes) received from server
 /var/www/MyApp/script/myapp_fastcgi.pl

 if you consult the mod_fastcgi docs you will find this:

http://www.fastcgi.com/mod_fastcgi/docs/mod_fastcgi.html#FastCgiServer
 -idle-timeout n (30 seconds)
 The number of seconds of FastCGI application inactivity allowed
 before the request is aborted and the event is logged (at the
 error LogLevel). The inactivity timer applies only as long as a
 connection is pending with the FastCGI application. If a
 request is queued to an application, but the application
 doesn't respond (by writing and flushing) within this period,
 the request will be aborted. If communication is complete with
 the application but incomplete with the client (the response is
 buffered), the timeout does not apply.

 I can't find any way to configure fastcgi.pl to increase the timeout
 via the _fastcgi.pl and changes to the httpd.conf seem to make no
 difference (at least the error always report a 30sec timeout).

 What changes to the httpd.conf did you do?
 Something like this (and restarting the server) should do the job:

FastCgiServer /path/to/script/ipacs_fastcgi.pl -processes 3 -idle-timeout 
 60

Thanx Christian. I should have looked there. I had just looked at the
options taken by _fastcgi.pl and ter ewasn't anything.

Dp.

___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/