HikariPool-1 – Connection is not available, request timed out after 30000ms.
not is request out Connection After available timed
2023-06-13 09:12:22 时间
大家好,又见面了,我是你们的朋友全栈君。
HikariPool是号称史上最快的数据库连接池,而且目前来看确实是这样的,SpringBoot2.0也已经采用HikariCP作为默认连接池配置.
近期项目也将druid切成了HikariPool,但HikariPool仍然不够稳定,经常出现获取不到数据库连接,连接数不够的问题
尝试修改HikariPool连接池配置,增大最大连接数,MaximumPoolSize由30改为100
HikariDataSource hikariDataSource = new HikariDataSource();
hikariDataSource.setDriverClassName(driveClassName);
hikariDataSource.setJdbcUrl(url);
hikariDataSource.setUsername(username);
hikariDataSource.setPassword(password);
hikariDataSource.setMaximumPoolSize(100);
持续监控中 …
发布者:全栈程序员栈长,转载请注明出处:https://javaforall.cn/152353.html原文链接:https://javaforall.cn
相关文章
- ORA-00316: log string of thread string, type string in header is not log file ORACLE 报错 故障修复 远程处理
- ORA-21700: object does not exist or is marked for delete ORACLE 报错 故障修复 远程处理
- ORA-22348: The object type DDL is not supported in Editioned schema ORACLE 报错 故障修复 远程处理
- ORA-22630: attribute [string] is null or it is not well-formed ORACLE 报错 故障修复 远程处理
- ORA-23315: repcatlog version or request string is not supported by version string ORACLE 报错 故障修复 远程处理
- ORA-26919: Capture “string” is not associated with queue “string”.”string”. ORACLE 报错 故障修复 远程处理
- ORA-27237: ELF file is not a relocatable object file ORACLE 报错 故障修复 远程处理
- ORA-28388: database is not open in read/write mode ORACLE 报错 故障修复 远程处理
- ORA-26925: cannot configure outbound server “string” with capture “string” because it is not using apply-state checkpoint ORACLE 报错 故障修复 远程处理
- ORA-32000: write to SPFILE requested but SPFILE is not modifiable ORACLE 报错 故障修复 远程处理
- ORA-54004: resultant data type of virtual column is not supported ORACLE 报错 故障修复 远程处理
- MySQL Error number: MY-010603; Symbol: ER_RPL_RELAY_LOG_INDEX_NEEDS_FILE_NOT_DIRECTORY; SQLSTATE: HY000 报错 故障修复 远程处理
- ORA-02796: Done request is not in correct state ORACLE 报错 故障修复 远程处理
- ORA-08192: Flashback Table operation is not allowed on fixed tables ORACLE 报错 故障修复 远程处理
- ORA-13665: Execution names are not correctly ordered. ORACLE 报错 故障修复 远程处理
- ORA-15092: I/O request size string is not a multiple of logical block size string ORACLE 报错 故障修复 远程处理
- ORA-18125: XUST0026 Revalidation mode string is not supported ORACLE 报错 故障修复 远程处理
- Linux修改内容命令:轻松编辑文件!Note: This is an AIgenerated article not a humanwritten one. Please take this into account when reading it.(linux修改内容命令)