Return-Path: Delivered-To: apmail-perl-modperl-archive@www.apache.org Received: (qmail 65167 invoked from network); 12 Aug 2009 13:05:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 12 Aug 2009 13:05:32 -0000 Received: (qmail 10762 invoked by uid 500); 12 Aug 2009 13:05:37 -0000 Delivered-To: apmail-perl-modperl-archive@perl.apache.org Received: (qmail 10715 invoked by uid 500); 12 Aug 2009 13:05:37 -0000 Mailing-List: contact modperl-help@perl.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list modperl@perl.apache.org Received: (qmail 10615 invoked by uid 99); 12 Aug 2009 13:05:37 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Aug 2009 13:05:37 +0000 X-ASF-Spam-Status: No, hits=0.2 required=10.0 tests=RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [80.237.202.18] (HELO deframx18.softcom.dk) (80.237.202.18) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 12 Aug 2009 13:05:27 +0000 Received: from reverse.iqas.no (82.147.33.131) by deframx18.softcom.dk (envelope-from ) with ESMTP. tag msg.1250082301.603515.21540 (Processed in 0.152492 secs); 12 Aug 2009 13:05:01 -0000 X-SoftScan-Status: clean Received: from CLEX01.iq.no ([10.1.2.114]) by reverse.iqas.no with Microsoft SMTPSVC(6.0.3790.3959); Wed, 12 Aug 2009 15:03:05 +0200 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Subject: https connection hangs on broken pipe, http fine Date: Wed, 12 Aug 2009 15:03:05 +0200 Message-ID: <4E07E91401C7FD4EA0CE3A0362411567035C9CDC@CLEX01.iq.no> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: https connection hangs on broken pipe, http fine thread-index: AcobTTsQxnXbLvv8RA+hBZz+lwZo0g== From: =?iso-8859-1?Q?Morten_Bj=F8rnsvik?= To: X-OriginalArrivalTime: 12 Aug 2009 13:03:05.0411 (UTC) FILETIME=[3B424130:01CA1B4D] X-Virus-Checked: Checked by ClamAV on apache.org Hi For some pages we have a broken pipe. for http this does not seem to = affect anything, but for https this hangs the handler, I can press esc to stop = connections, but the httpd-process then hangs and we fork a new one. http does not for a new = one. This is legacy software which worked fine with older apache, and newer = versions have not used https until I started dig into this. It is an exception that happens in mason and is evaluated in = Apache2::RequestIO, but here it hangs, as I never get the Apache2::Request object back to = the handler. Anyone have an idea how to catch the SIGPIPE and do proper garbage = collection. -- Thanks MortenB Config: [Wed Aug 12 11:14:21 2009] [notice] Apache/2.2.13 (Unix) mod_ssl/2.2.13 OpenSSL/0.9.8g DAV/2 mod_apreq2-20090110/2.7.1 mod_perl/2.0.4 = Perl/v5.10.0 configured -- resuming normal operations (it is the same with apache 2.0.63) apache debug output with http: [Wed Aug 12 13:50:52 2009] [info] [client 127.0.0.1] (32)Broken pipe: core_output_filter: writing data to the network with https: [Wed Aug 12 13:54:49 2009] [info] Initial (No.1) HTTPS request received = for child 1 (server mortenb2.secana.local.:443) [Wed Aug 12 13:54:49 2009] [info] [client 127.0.0.1] (32)Broken pipe: core_output_filter: writing data to the network [Wed Aug 12 13:54:49 2009] [info] [client 127.0.0.1] (103)Software = caused connection abort: SSL output filter write failed. [Wed Aug 12 13:54:49 2009] [error] [client 127.0.0.1] Apache2::RequestIO::print: (103) Software caused connection abort at /opt/perl/lib/site_perl/5.10.0/HTML/Mason/ApacheHandler.pm line 1019, = referer: https://localhost/auth/agent-instances/ [Wed Aug 12 13:54:54 2009] [debug] ssl_engine_io.c(1869): OpenSSL: I/O = error, 5 bytes expected to read on BIO#31c0da0 [mem: 3292530] [Wed Aug 12 13:54:54 2009] [info] [client 127.0.0.1] (70007)The timeout specified has expired: SSL input filter read failed. [Wed Aug 12 13:54:54 2009] [debug] ssl_engine_kernel.c(1893): OpenSSL: = Write: SSL negotiation finished successfully [Wed Aug 12 13:54:54 2009] [info] [client 127.0.0.1] Connection closed = to child 1 with standard shutdown (server mortenb2.secana.local.:443) (And the firefox load just spins, and reloading the same page just = hangs). ---------------------------------------------------------------- Morten Bj=F8rnsvik, Experian Decision Analytics AS S=F8rkedalsveien 10c, Postbox 5275 Majorstua, 0303 Oslo, Norway ----------------------------------------------------------------