DSM

NAVIGATION
CATEGORIES
REFERRENCE
LINKS
  • FastCGI server crashing

    8 answers - 819 bytes - related search similar search Add To My Delicious Add To My Stumble Upon Add To My Google Mark Add To My Facebook Add To My Digg Add To My Reddit

    I am experiencing seemingly random crashes of the Zope FastCgi server
    that are really annoying users. Any help most appreciated.
    Apache errors:
    FastCGI: comm with server "/" aborted:
    idle timeout (30 sec)
    FastCGI: incomplete headers (0 bytes) received from server
    "/"
    Zope error:
    2006-08-07T11:17:36 ERRR(200) ZServer uncaptured python exception,
    closing channel <ZServer.FCGIServer.FCGIChannel connected
    127.0.0.1:43792 at 0x43c13e2c(socket.error:(32, 'Broken pipe')
    [/|initiate_send|218]
    [/|send|337])
    System:
    Redhat 7.3
    Apache 2.0.52
    mod_fastcgi 2.4.4
    Python 2.3.5
    Zope 2.7.8
    Thanks!
    Zope maillist - Zope (AT) zope (DOT) org
    ** No cross posts or HTML encoding! **
    (Related lists -
    )
  • No.1 | | 1138 bytes | |

    Looks like the problem was an inbound RSS feed from a server that was
    down. The FastCGI process was timing out before the RSS request from
    CMFSin timed out.

    David Chandek-Stark wrote:
    I am experiencing seemingly random crashes of the Zope FastCgi server
    that are really annoying users. Any help most appreciated.

    Apache errors:

    FastCGI: comm with server "/" aborted:
    idle timeout (30 sec)
    FastCGI: incomplete headers (0 bytes) received from server
    "/"

    Zope error:

    2006-08-07T11:17:36 ERRR(200) ZServer uncaptured python exception,
    closing channel <ZServer.FCGIServer.FCGIChannel connected
    127.0.0.1:43792 at 0x43c13e2c(socket.error:(32, 'Broken pipe')
    [/|initiate_send|218]
    [/|send|337])

    System:

    Redhat 7.3
    Apache 2.0.52
    mod_fastcgi 2.4.4
    Python 2.3.5
    Zope 2.7.8

    Thanks!

    Zope maillist - Zope (AT) zope (DOT) org

    ** No cross posts or HTML encoding! **
    (Related lists -
    )

    Zope maillist - Zope (AT) zope (DOT) org

    ** No cross posts or HTML encoding! **
    (Related lists -

    )
  • No.2 | | 714 bytes | |

    PGP SIGNED MESSAGE
    Hash: SHA1

    7 Aug 2006, at 12:09, David Chandek-Stark wrote:

    Looks like the problem was an inbound RSS feed from a server that
    was down. The FastCGI process was timing out before the RSS request
    from CMFSin timed out.

    You're probably aware of the fact that FastCGI is no longer a
    supported configuration. Is there any specific reason you're using it
    instead of RewriteRules for example?

    jens

    PGP SIGNATURE
    Version: GnuPG v1.4.1 (Darwin)

    lqpJCUmCmyMCceQe29H7vf0=
    =YLu4
    PGP SIGNATURE

    Zope maillist - Zope (AT) zope (DOT) org

    ** No cross posts or HTML encoding! **
    (Related lists -

    )
  • No.3 | | 781 bytes | |

    Jens Vagelpohl wrote:

    You're probably aware of the fact that FastCGI is no longer a supported
    configuration. Is there any specific reason you're using it instead of
    RewriteRules for example?

    jens

    Actually, I wasn't aware. I'm using FastCGI b/c I am doing external
    authentication with an Apache module that sets REMTE_USER. I have to
    use FastCGI to pass this variable to Zope and am using RemoteUserFolder
    for the Zope authentication. I am hoping that I will be able to move to
    PAS with Shibboleth, but haven't had time

    Major app is a Plone 2.0.5 site.

    Thanks,
    David

    Zope maillist - Zope (AT) zope (DOT) org

    ** No cross posts or HTML encoding! **
    (Related lists -

    )
  • No.4 | | 1251 bytes | |

    Message
    From: "David Chandek-Stark" <dc (AT) duke (DOT) edu>
    To: <zope (AT) zope (DOT) org>
    Sent: Monday, August 07, 2006 2:04 PM
    Subject: [Zope] Re: FastCGI server crashing

    Jens Vagelpohl wrote:
    >
    >You're probably aware of the fact that FastCGI is no longer a supported
    >configuration. Is there any specific reason you're using it instead of
    >RewriteRules for example?
    >>

    >jens
    >

    Actually, I wasn't aware. I'm using FastCGI b/c I am doing external
    authentication with an Apache module that sets REMTE_USER. I have to use
    FastCGI to pass this variable to Zope and am using RemoteUserFolder for
    the Zope authentication. I am hoping that I will be able to move to PAS
    with Shibboleth, but haven't had time

    I haven't done this myself, but according to the apache docs
    () the mod_rewrite
    module has access to REMTE_USER and using url rewriting you should be able
    to pass it along (and thereby get rid of fastcgi).

    Jonathan

    Zope maillist - Zope (AT) zope (DOT) org

    ** No cross posts or HTML encoding! **
    (Related lists -

    )
  • No.5 | | 1203 bytes | |

    David Chandek-Stark wrote at 2006-8-7 11:37 -0400:
    >I am experiencing seemingly random crashes of the Zope FastCgi server
    >that are really annoying users. Any help most appreciated.
    >
    >Apache errors:
    >
    >FastCGI: comm with server "/" aborted:
    >idle timeout (30 sec)
    >FastCGI: incomplete headers (0 bytes) received from server
    >"/"
    >
    >Zope error:
    >
    >2006-08-07T11:17:36 ERRR(200) ZServer uncaptured python exception,
    >closing channel <ZServer.FCGIServer.FCGIChannel connected
    >127.0.0.1:43792 at 0x43c13e2c(socket.error:(32, 'Broken pipe')
    >[/|initiate_send|218]
    >[/|send|337])


    What you see is almost surely a long running request:

    Apparently your Apache is configured that a 30s timeout
    is in effect for the "FastCGI" communication. After the timeout,
    Apache abort the request.

    When Zope finally completes, it tries to send the response
    and fails because the connection was closed by Apache
    (that's the "ZServer uncaptured python exception").

    You may try to increase the timeout -- or avoid long running requests
  • No.6 | | 762 bytes | |

    Message
    From: "David Chandek-Stark" <dc (AT) duke (DOT) edu>
    To: "Jonathan" <dev101 (AT) magma (DOT) ca>
    Sent: Monday, August 07, 2006 2:53 PM
    Subject: Re: [Zope] Re: FastCGI server crashing


    >I haven't done this myself, but according to the apache docs
    >() the mod_rewrite
    >module has access to REMTE_USER and using url rewriting you should be
    >able to pass it along (and thereby get rid of fastcgi).


    No, you can't pass authorization headers with a proxy rule.

    You may want to have a look at this thread:

    Jonathan

    Zope maillist - Zope (AT) zope (DOT) org

    ** No cross posts or HTML encoding! **
    (Related lists -

    )
  • No.7 | | 298 bytes | |

    Jens Vagelpohl schrieb:
    FastCGI is no longer a supported configuration.
    Just out of curiosity, why isn't it supported anymore?
    Thx,
    Tonico
    Zope maillist - Zope (AT) zope (DOT) org
    ** No cross posts or HTML encoding! **
    (Related lists -
    )
  • No.8 | | 397 bytes | |

    Tue, 2006-08-08 at 12:03 +0200, Tonico Strasser wrote:
    Jens Vagelpohl schrieb:
    FastCGI is no longer a supported configuration.

    Just out of curiosity, why isn't it supported anymore?

    Mostly because nobody stepped up to support it.
    - C

    Zope maillist - Zope (AT) zope (DOT) org

    ** No cross posts or HTML encoding! **
    (Related lists -

    )

Re: FastCGI server crashing


max 4000 letters.
Your nickname that display:
In order to stop the spam: 1 + 0 =
QUESTION ON "DSM"

EMSDN.COM