httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick Kew <>
Subject Re: mod_authn_dbd - internal server error after certain idle time
Date Fri, 06 Jul 2007 22:04:29 GMT
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
> > >
> > >
> > >
> > > 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

View raw message