tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tomcat Random <tomcat.ran...@gmail.com>
Subject Re: Pooled Connections Lost After 10 Minutes (600 seconds)
Date Tue, 03 Dec 2013 17:14:49 GMT
I considered using a validation query but it seemed like extra overhead
when the default behavior was not, um, behaving in the default way.

-Alec


On Tue, Dec 3, 2013 at 7:24 AM, Daniel Mikusa <dmikusa@gopivotal.com> wrote:

> On Dec 2, 2013 10:09 PM, "Neven Cvetkovic" <neven.cvetkovic@gmail.com>
> wrote:
> >
> > On Dec 2, 2013 12:47 PM, "Tomcat Random" <tomcat.random@gmail.com>
> wrote:
> > >
> > > Neven, thank you.
> > >
> > > It was right there in my.cnf: 'wait_timeout=600'
> > >
> >
> > You're welcome :)
> >
> > I am curious why tomcat didn't renew expired (terminated) idle
> connections
> > though.
>
> It wouldn't know that the connections have been disconnected, since they
> were disconnected server side.  If the user added a validation query then
> it could detect and remove the closed connections.
>
> Dan
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message