httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Danie Qian" <dan...@bestningning.com>
Subject Re: mod_authn_dbd - internal server error after certain idle time
Date Fri, 06 Jul 2007 22:36:24 GMT

----- Original Message ----- 
From: "Nick Kew" <nick@webthing.com>
To: <modules-dev@httpd.apache.org>
Sent: Friday, July 06, 2007 6:04 PM
Subject: Re: mod_authn_dbd - internal server error after certain idle time


> On Fri, 06 Jul 2007 13:13:03 -0700
> Matthew Kent <matt@bravenet.com> 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.
>

I am using mod_authn_dbd,mod_auth_basic from apache-2.2.4 and snapshot 
mod_dbd.c dated July 5.
apr_dbd_mysql.c was downloaded from http://apache.webthing.com/database/ 
yesterday too.
No patches have been applied so far as I dont know which one to apply if 
there is one. 


Mime
View raw message