Return-Path: Delivered-To: apmail-httpd-modules-dev-archive@locus.apache.org Received: (qmail 83234 invoked from network); 6 Jul 2007 22:04:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 6 Jul 2007 22:04:56 -0000 Received: (qmail 71812 invoked by uid 500); 6 Jul 2007 22:04:57 -0000 Delivered-To: apmail-httpd-modules-dev-archive@httpd.apache.org Received: (qmail 71789 invoked by uid 500); 6 Jul 2007 22:04:57 -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 71780 invoked by uid 99); 6 Jul 2007 22:04:57 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Jul 2007 15:04:57 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: local policy) Received: from [80.229.52.226] (HELO grimnir.webthing.com) (80.229.52.226) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Jul 2007 15:04:52 -0700 Received: from grimnir.webthing.com (localhost [127.0.0.1]) by grimnir.webthing.com (Postfix) with ESMTP id 38D852135 for ; Fri, 6 Jul 2007 23:04:30 +0100 (BST) Date: Fri, 6 Jul 2007 23:04:29 +0100 From: Nick Kew To: modules-dev@httpd.apache.org Subject: Re: mod_authn_dbd - internal server error after certain idle time Message-ID: <20070706230429.34edfd4a@grimnir> In-Reply-To: <1183752783.5095.56.camel@fuego> References: <00b701c7c000$f2f71300$66d482d8@CORP.LOCAL> <1183749481.5095.44.camel@fuego> <00d501c7c007$700c0b10$66d482d8@CORP.LOCAL> <1183752783.5095.56.camel@fuego> Organization: WebThing X-Mailer: Sylpheed-Claws 2.5.0-rc3 (GTK+ 2.10.6; i486-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org On Fri, 06 Jul 2007 13:13:03 -0700 Matthew Kent wrote: > > >> My question is why the keepalive setting for 60sec doesnt work > > >> for me? How > > >> do I fix this without changing the timeout setting on the mysql > > >> server? For future reference, this should really have been on users@. But you've had some good replies here. > > > I've haven't used mod_authn_dbd yet but this sounds similar to > > > issues I was having > > > > > > http://issues.apache.org/bugzilla/show_bug.cgi?id=39329 > > > > > > patch hasn't made its way into apr_dbd_mysql.c yet. Please add a > > > note if the it fixes your issue. That's a mod_dbd patch. The trunk version of mod_dbd should supersede it. I started reviewing the /trunk/, but got distracted and need to find time to finish that. > > I am using apache-2.2.4 configured with apr-1.2.9 and apr-1.2.8. I > > have the above mentioned problem even after I replaced mod_dbd.c > > with the one from yesterday's snapshot. Do you think this patch > > will still apply? Good question. If you figure it out, tell us. If not, please bug me to check it. > Well the patch is against apr_dbd_mysql.c (in apr-util) not mod_dbd.c > (in httpd) so I think it would apply in this case. Huh? Where's the apr_dbd_mysql patch? I see only (variants of a) mod_dbd patch under the bug report you referenced. > Incidentally here's my httpd.conf ifmodule block. Why are you using IfModule? > I've been using > mod_dbd + apr-util with apr_dbd_mysql and the linked patch in > production since it came out without issue. Can you enumerate exactly what variants of mod_dbd, apr_dbd_mysql and any other DBD modules you're using, and what patches (bearing in mind there are several variants on the patch on that bug report, and yours seems to be marked obsolete). The more clarity we can get, the more likely it is we can apply the right patches. -- Nick Kew Application Development with Apache - the Apache Modules Book http://www.apachetutor.org/