Comment 52 for bug 1243551

Revision history for this message
Tarun Kumar (tarunsamrai) wrote :

Is this issue fixed in any latest release of bonecp? We are using 0.8.0-RELEASE version with postgres 9.4.7 and connections get closed abruptly at random times. We use following config:

<property name="connectionTestStatement" value="SELECT NOW()" />
<property name="idleConnectionTestPeriodInMinutes" value="1" />
<property name="idleMaxAgeInMinutes" value="5" />
<property name="maxConnectionsPerPartition" value="20" />
<property name="minConnectionsPerPartition" value="1"/>
<property name="poolAvailabilityThreshold" value="5"/>
<property name="partitionCount" value="2" />
<property name="acquireIncrement" value="4" />
<property name="statementsCacheSize" value="50" />

Please note that we did not set maxConnectionAge or maxConnectionAgeInSeconds to 0 as I see from the source code that the default value is 0.

Please suggest if there is any workaround or a version in which this has been fixed.