数据库连接超时错误处理

今天看到日志报错:Timeout after 1002ms of waiting for a connection

查了数据库连接数为1000, 当前连接数400左右:

select count(*) from v$session; --当前连接数
select value from v$parameter where name = 'processes'; --数据库连接数

该应用的最大连接数为10

先调整为20再继续观察。

<property name="maximumPoolSize" value="10"/>

猜你喜欢

转载自blog.csdn.net/shd_624/article/details/81101235