cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hugi Thordarson <h...@karlmenn.is>
Subject Re: Reconnecting automatically after DB downtime
Date Mon, 07 Mar 2016 10:46:25 GMT
Hi all,
This is still happening, even after I added a validationQuery, our app is dying quite frequently
:(.  I’m not quite sure how to debug this, is there any way for me to catch where connections
are being opened in the code and at what location they’re hanging?

https://www.dropbox.com/s/8jkmh6513s6wwkn/Screenshot%202016-03-07%2010.21.53.png?dl=0

Cheer,
- hugi

// Hugi Thordarson
// http://www.loftfar.is/
// s. 895-6688



> On 29. feb. 2016, at 11:25, Andrus Adamchik <andrus@objectstyle.org> wrote:
> 
> 
>> On Feb 29, 2016, at 2:20 PM, Hugi Thordarson <hugi@karlmenn.is> wrote:
>> 
>> What does validationQuery do?
> 
> Periodically executes for each pooled connection, and kills connections that throw during
validation. So it ensures that all pooled connections are in a good state.
> 
> Andrus
> 


Mime
View raw message