Return-Path: Delivered-To: apmail-perl-modperl-archive@www.apache.org Received: (qmail 64392 invoked from network); 22 Sep 2007 20:55:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 22 Sep 2007 20:55:29 -0000 Received: (qmail 37562 invoked by uid 500); 22 Sep 2007 20:55:15 -0000 Delivered-To: apmail-perl-modperl-archive@perl.apache.org Received: (qmail 37543 invoked by uid 500); 22 Sep 2007 20:55:15 -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 37532 invoked by uid 99); 22 Sep 2007 20:55:15 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 22 Sep 2007 13:55:15 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [212.85.38.174] (HELO popeye.combios.es) (212.85.38.174) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 22 Sep 2007 20:55:15 +0000 Received: from [192.168.245.129] (p549EB7F3.dip0.t-ipconnect.de [84.158.183.243]) (authenticated bits=0) by popeye.combios.es (8.13.8/8.13.8/Debian-3) with ESMTP id l8MKsems024342; Sat, 22 Sep 2007 22:54:42 +0200 Message-ID: <46F5810D.7080708@ice-sa.com> Date: Sat, 22 Sep 2007 22:54:37 +0200 From: =?ISO-8859-1?Q?Andr=E9_Warnier?= User-Agent: Thunderbird 1.5 (Windows/20051201) MIME-Version: 1.0 To: modperl@perl.apache.org CC: Perrin Harkins , gozer@ectoplasm.org Subject: Re: re-post : duplicate sockets with mp2, apache2, linux References: <46F256BB.9050302@ice-sa.com> <66887a3d0709201409w65801586ib706d1d6ae4ddc45@mail.gmail.com> <46F37529.10700@ice-sa.com> <66887a3d0709210403t2e878a65ne4355962f5aad5d2@mail.gmail.com> In-Reply-To: <66887a3d0709210403t2e878a65ne4355962f5aad5d2@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org -- solved -- My thanks, but also my deepest apologies to anyone who bothered spending time considering this post and its predecessor. There is no voodoo and no problem with duplicate sockets or connections, at least not in Apache2 or mod_perl2. The problem was not in the code of my PerlAuthenHandler module either, it was with my setup (and thus with me anyway). For the curious, I was connecting to an external database module, which itself connects to a database system. The problem was that instead of telling the external module to connect to the database system, I was telling it to connect to itself. Which caused it to receive ipso-facto a second connection request (and log this event), which caused me to believe that it was the perl module which was connecting twice. A classic case of re-reading something 20 times and overlooking the obvious. AW