Return-Path: Delivered-To: apmail-httpd-modules-dev-archive@locus.apache.org Received: (qmail 51870 invoked from network); 7 Jul 2007 15:38:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 7 Jul 2007 15:38:52 -0000 Received: (qmail 43508 invoked by uid 500); 7 Jul 2007 15:38:54 -0000 Delivered-To: apmail-httpd-modules-dev-archive@httpd.apache.org Received: (qmail 43479 invoked by uid 500); 7 Jul 2007 15:38:53 -0000 Mailing-List: contact modules-dev-help@httpd.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: modules-dev@httpd.apache.org Delivered-To: mailing list modules-dev@httpd.apache.org Received: (qmail 43470 invoked by uid 99); 7 Jul 2007 15:38:53 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 07 Jul 2007 08:38:53 -0700 X-ASF-Spam-Status: No, hits=1.8 required=10.0 tests=RCVD_IN_WHOIS_BOGONS,SPF_HELO_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [216.138.240.12] (HELO mail.acerenting.com) (216.138.240.12) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 07 Jul 2007 08:38:49 -0700 Received: from HP72472929110 (CPE0011d8edaa7f-CM000f212f8d37.cpe.net.cable.rogers.com [70.25.171.82]) (using TLSv1 with cipher RC4-MD5 (128/128 bits)) (No client certificate requested) by mail.acerenting.com (Postfix) with ESMTP id AAEB01580045 for ; Sat, 7 Jul 2007 11:40:51 -0400 (EDT) Message-ID: <01a501c7c0ac$e41185d0$66d482d8@CORP.LOCAL> Reply-To: "Danie Qian" From: "Danie Qian" To: References: <00b701c7c000$f2f71300$66d482d8@CORP.LOCAL><1183749481.5095.44.camel@fuego><00d501c7c007$700c0b10$66d482d8@CORP.LOCAL><1183752783.5095.56.camel@fuego><20070706230429.34edfd4a@grimnir><1183772227.5095.70.camel@fuego> <20070707093828.618637f7@grimnir> Subject: Re: mod_authn_dbd - internal server error after certain idle time Date: Sat, 7 Jul 2007 11:38:39 -0400 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="gb2312"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.3138 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3138 X-Virus-Checked: Checked by ClamAV on apache.org ----- Original Message ----- From: "Nick Kew" To: Sent: Saturday, July 07, 2007 4:38 AM Subject: Re: mod_authn_dbd - internal server error after certain idle time > On Fri, 06 Jul 2007 18:37:07 -0700 > Matthew Kent wrote: > >> After some testing I think I better understand the issue, updated it >> here >> >> http://issues.apache.org/bugzilla/show_bug.cgi?id=39329#c11 > > Thanks. I saw that already (notification email reached me ahead of > this one). > >> think its the mysql_ping reconnection clobbering the prepared >> statement >> used in mod_authn_dbd. > > Buggrit. I can't see a satisfactory workaround for that. > I guess the kludge suggested by Tom Donovan in this thread > could be the best practical solution. > It is working a little better now after I set both DBDKeep and DBDMin to zero. But I am still getting the internal server error from time to time. Users usually can get pass the error by reloading the same page. Here is the error messages in the log: [Sat Jul 07 02:56:44 2007] [error] (20014)Internal error: DBD [mysql] Error: Lost connection to MySQL server during query [Sat Jul 07 02:56:44 2007] [error] [client 75.87.112.250] authn_dbd_acquire: Error looking up josiahhansen in database