Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Catalyst: Users

FastCGI: incomplete headers (0 bytes) received from server

 

 

Catalyst users RSS feed   Index | Next | Previous | View Threaded


rpack at genares

May 6, 2008, 10:01 AM

Post #1 of 4 (110 views)
Permalink
FastCGI: incomplete headers (0 bytes) received from server

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


jon at jrock

May 6, 2008, 10:08 AM

Post #2 of 4 (105 views)
Permalink
Re: FastCGI: incomplete headers (0 bytes) received from server [In reply to]

* 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[at]lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst[at]lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/


jgoulah at gmail

May 6, 2008, 10:15 AM

Post #3 of 4 (104 views)
Permalink
Re: FastCGI: incomplete headers (0 bytes) received from server [In reply to]

On Tue, May 6, 2008 at 1:01 PM, Ryan Pack <rpack[at]genares.com> 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[at]lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst[at]lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/


m.e at acm

May 6, 2008, 11:03 PM

Post #4 of 4 (93 views)
Permalink
Re: FastCGI: incomplete headers (0 bytes) received from server [In reply to]

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 <jgoulah[at]gmail.com>:

> On Tue, May 6, 2008 at 1:01 PM, Ryan Pack <rpack[at]genares.com> 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[at]lists.scsys.co.uk
> Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
> Searchable archive:
> http://www.mail-archive.com/catalyst[at]lists.scsys.co.uk/
> Dev site: http://dev.catalyst.perl.org/
>



--
Regards,
Martin
(m.e[at]acm.org)
IT: http://methodsupport.com Personal: http://thereisnoend.org

Catalyst users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.