Re: [Catalyst] FastCGI: incomplete headers (0 bytes) received from server

2008-05-06 Thread Martin Ellison
The error is presumably because your fast cgi system has a timeout. Do you
have some code that sometimes  takes a long time to run? If it only happens
about 1% of the time it may be normally just quicker than the limit, but
occasionally going over.

2008/5/7 John Goulah <[EMAIL PROTECTED]>:

> On Tue, May 6, 2008 at 1:01 PM, Ryan Pack <[EMAIL PROTECTED]> wrote:
> >
> >
> >
> >
> > I'm having an issue with my Catalyst app but I can only get it to break
> > about 1 in 100 tries.  The error log shows:
> >
> >
> >
> > [Tue May 06 11:02:46 2008] [error] [client 12.37.36.66] FastCGI: comm
> with
> > server "/u/lxlib/BookingEngine/script/bookingengine_fastcgi.pl" aborted:
> > idle timeout (60 sec), referer: http://be.genares.net/11
> >
> > [Tue May 06 11:02:46 2008] [error] [client 12.37.36.66] FastCGI:
> incomplete
> > headers (0 bytes) received from server
> > "/u/lxlib/BookingEngine/script/bookingengine_fastcgi.pl", referer:
> > http://be.genares.net/11
> >
> >
> >
>
>
> For what its worth, I also get the latter error quite a bit in my
> error logs.  Haven't really had time to trace it down, looks similar
> something like:
>
>  [Tue May 06 10:09:34 2008] [error] [client 204.2.215.55] FastCGI:
> incomplete headers (0 bytes) received from server
> "/opt/myapp.com/app/MyApp/1.007556/fake/www"
>
>
> I think the only thing in common here is Session::State::Cookie;  we
> use Session::Store::Cache.   Probably doesn't help much but I guess
> the problem does exist for various reasons if anyone has any ideas I'd
> be glad to try, but "adding some debug messages in key places" isn't
> going to cut it.
>
> ___
> 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/
>



-- 
Regards,
Martin
([EMAIL PROTECTED])
IT: http://methodsupport.com Personal: http://thereisnoend.org
___
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: incomplete headers (0 bytes) received from server

2008-05-06 Thread John Goulah
On Tue, May 6, 2008 at 1:01 PM, Ryan Pack <[EMAIL PROTECTED]> wrote:
>
>
>
>
> I'm having an issue with my Catalyst app but I can only get it to break
> about 1 in 100 tries.  The error log shows:
>
>
>
> [Tue May 06 11:02:46 2008] [error] [client 12.37.36.66] FastCGI: comm with
> server "/u/lxlib/BookingEngine/script/bookingengine_fastcgi.pl" aborted:
> idle timeout (60 sec), referer: http://be.genares.net/11
>
> [Tue May 06 11:02:46 2008] [error] [client 12.37.36.66] FastCGI: incomplete
> headers (0 bytes) received from server
> "/u/lxlib/BookingEngine/script/bookingengine_fastcgi.pl", referer:
> http://be.genares.net/11
>
>
>


For what its worth, I also get the latter error quite a bit in my
error logs.  Haven't really had time to trace it down, looks similar
something like:

  [Tue May 06 10:09:34 2008] [error] [client 204.2.215.55] FastCGI:
incomplete headers (0 bytes) received from server
"/opt/myapp.com/app/MyApp/1.007556/fake/www"


I think the only thing in common here is Session::State::Cookie;  we
use Session::Store::Cache.   Probably doesn't help much but I guess
the problem does exist for various reasons if anyone has any ideas I'd
be glad to try, but "adding some debug messages in key places" isn't
going to cut it.

___
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: incomplete headers (0 bytes) received from server

2008-05-06 Thread Jonathan Rockway
* On Tue, May 06 2008, Ryan Pack wrote:
> I?m having an issue with my Catalyst app but I can only get it to break about 
> 1
> in 100 tries.  The error log shows:
>
>  
>
> [Tue May 06 11:02:46 2008] [error] [client 12.37.36.66] FastCGI: comm with
> server "/u/lxlib/BookingEngine/script/bookingengine_fastcgi.pl" aborted: idle
> timeout (60 sec), referer: http://be.genares.net/11
>
> [Tue May 06 11:02:46 2008] [error] [client 12.37.36.66] FastCGI: incomplete
> headers (0 bytes) received from server "/u/lxlib/BookingEngine/script/
> bookingengine_fastcgi.pl", referer: http://be.genares.net/11
>
>  
>
> The page does not show an error, but a new session is created instead of using
> the existing session.  I?m using Session::State::Cookie, Session::State::URI,
> Session::Store::DBIC.  All are on the latest versions.
>
>  
>
> Any help would be appreciated.

Do you have requests that are taking more than a minute?  It looks like
your frontend server is assuming the Catalyst app died, when in reality
it might just be taking a long time.

I'm not sure what would cause the session stuff to behave differently.
Probably time to add some $c->log->debug messages to your app in key
places.

Regards,
Jonathan Rockway

-- 
print just => another => perl => hacker => if $,=$"

___
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/


[Catalyst] FastCGI: incomplete headers (0 bytes) received from server

2008-05-06 Thread Ryan Pack
I'm having an issue with my Catalyst app but I can only get it to break
about 1 in 100 tries.  The error log shows:

 

[Tue May 06 11:02:46 2008] [error] [client 12.37.36.66] FastCGI: comm
with server "/u/lxlib/BookingEngine/script/bookingengine_fastcgi.pl"
aborted: idle timeout (60 sec), referer: http://be.genares.net/11

[Tue May 06 11:02:46 2008] [error] [client 12.37.36.66] FastCGI:
incomplete headers (0 bytes) received from server
"/u/lxlib/BookingEngine/script/bookingengine_fastcgi.pl", referer:
http://be.genares.net/11

 

The page does not show an error, but a new session is created instead of
using the existing session.  I'm using Session::State::Cookie,
Session::State::URI, Session::Store::DBIC.  All are on the latest
versions.

 

Any help would be appreciated.

 

Ryan Pack

Programmer

Genares Worldwide Reservations

P. 817-722-2834

F. 817-442-0600

 

___
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/