WebLogic托管集群特定时段进入Overload state,数据源连接耗尽求助
问题:WebLogic集群过载+JDBC连接池耗尽
问题现象
- 部署在WebLogic服务器的托管集群随机在部分日期的两个特定时段进入Overload状态,数据源所有连接被完全耗尽
- 问题发生时段无活动任务,服务器负载处于正常水平;临时解决方案为重启服务器,恢复后可正常运行至下次问题出现
报错日志
连接池资源耗尽错误
weblogic.jdbc.extensions.PoolLimitSQLException: weblogic.common.resourcepool.ResourceLimitException:** No resources currently available in pool to allocate to applications, please increase the size of the pool and retry..**at weblogic.jdbc.common.internal.JDBCUtil.wrapAndThrowResourceException(JDBCUtil.java:280) at weblogic.jdbc.pool.Driver.connect(Driver.java:154) at weblogic.jdbc.jts.Driver.getNonTxConnection(Driver.java:665) at weblogic.jdbc.jts.Driver.connect(Driver.java:129)
事务超时导致连接失败
java.sql.SQLException: No JDBC connection can be made because the transaction has timed outat weblogic.jdbc.jts.Driver.newConnection(Driver.java:922)
服务器过载时连接测试失败
Connection test failed with the following exception: weblogic.common.resourcepool.ResourceUnavailableException: No resources currently available in pool to allocate to applications Either specify a time period to wait for resources to become available, or increase the size of the pool and retry..
当前配置与排查结果
- 数据源连接池Max Capacity配置为15
- 上次部署后JMS队列数量从24个增至26个,每日消息流量1-1.2万条,数据库操作以插入为主
- 已完成排查:
- 数据库负载正常
- 问题时段无任务运行
- 数据源监控显示15个连接全部被占用
求助需求
考虑增加连接池容量,但不确定该操作对系统性能的影响,恳请提供解决方案与建议。
内容的提问来源于stack exchange,提问作者Divya
相关产品推荐
相关产品推荐

