Hi, we keep getting this error. We followed all of the recommendations provided by the log analyzer and made sure we confirm to the requirements.
MySql runs local on the same server, that should exclude network errors.
Database driver: mysql-connector-java-5.1.44
MySQL version: 5.7.21
In dbconfig.xml we have the validation query:
<validation-query>select 1</validation-query>
<min-evictable-idle-time-millis>60000</min-evictable-idle-time-millis>
<time-between-eviction-runs-millis>300000</time-between-eviction-runs-millis>
<pool-max-idle>20</pool-max-idle>
<pool-remove-abandoned>true</pool-remove-abandoned>
<pool-remove-abandoned-timeout>300</pool-remove-abandoned-timeout>
<pool-test-while-idle>true</pool-test-while-idle>
<validation-query-timeout>3</validation-query-timeout>
We also (re)index frequently.
Yet, the # timeout errors are increasing. What can we do more to avoid these errors?
Thanks!
Vincent