FAQ
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



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/catalyst/attachments/20080506/3f57a2ec/attachment.htm

Search Discussions

  • Jonathan Rockway at May 6, 2008 at 6:08 pm

    * 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 $,=$"
  • John Goulah at May 6, 2008 at 6:15 pm

    On Tue, May 6, 2008 at 1:01 PM, 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


    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.
  • Martin Ellison at May 7, 2008 at 7:03 am
    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@gmail.com>:
    On Tue, May 6, 2008 at 1:01 PM, 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


    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
    (m.e@acm.org)
    IT: http://methodsupport.com Personal: http://thereisnoend.org
    -------------- next part --------------
    An HTML attachment was scrubbed...
    URL: http://lists.scsys.co.uk/pipermail/catalyst/attachments/20080507/fdb3e30e/attachment.htm
  • Ryan Pack at May 7, 2008 at 11:29 pm
    Thanks everyone for your replies. Turns out that this error had nothing
    to do with the problem I am trying to track down. I will post a new
    thread with a more appropriate subject line.



    Ryan Pack

    Programmer

    Genares Worldwide Reservations

    P. 817-722-2834

    F. 817-442-0600

    ________________________________

    From: Martin Ellison
    Sent: Wednesday, May 07, 2008 1:03 AM
    To: The elegant MVC web framework
    Subject: Re: [Catalyst] FastCGI: incomplete headers (0 bytes) received
    fromserver



    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@gmail.com>:
    On Tue, May 6, 2008 at 1:01 PM, 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



    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
    (m.e@acm.org)
    IT: http://methodsupport.com Personal: http://thereisnoend.org

    -------------- next part --------------
    An HTML attachment was scrubbed...
    URL: http://lists.scsys.co.uk/pipermail/catalyst/attachments/20080507/ad52a1b6/attachment.htm

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupcatalyst @
categoriescatalyst, perl
postedMay 6, '08 at 6:01p
activeMay 7, '08 at 11:29p
posts5
users4
websitecatalystframework.org
irc#catalyst

People

Translate

site design / logo © 2021 Grokbase