MyCATApache / Mycat-Server

GNU General Public License v2.0
9.51k stars 3.85k forks source link

druid连接池出现GetConnectionTimeoutException异常 #2956

Open dlnuyuxiaowei opened 6 days ago

dlnuyuxiaowei commented 6 days ago

1、bug描述 mycat在使用了一段时间(大概一个月)后,druid会出现创建新连接超时的异常 nested exception is org.apache.ibatis.exceptions.PersistenceException: ### Error querying database. Cause: org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection; nested exception is com.alibaba.druid.pool.GetConnectionTimeoutException: wait millis 60000, active 0, maxActive 100, creating 1, createElapseMillis 6995022

2、版本号(非常重要) mycat:1.6.7.6-8.1 druid: 1.1.24