-
Notifications
You must be signed in to change notification settings - Fork 479
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
日志中是否有报错或者预警 #795
Comments
连接池的连接没有及时释放,可能是sql执行时间太久,需要配置druid的queryTimeout参数进行观察,配置这个参数需要修改代码。 |
不是哦,我如果直接spring boot连原始数据库是没问题的,我吧mycat的jar包更新成最新的mycat2-1.22-release-jar-with-dependencies.jar,连接数就会释放了,当时的旧版本是mycat2-1.21-release-jar-with-dependencies.jar,是旧版本有BUG? |
1 similar comment
不是哦,我如果直接spring boot连原始数据库是没问题的,我吧mycat的jar包更新成最新的mycat2-1.22-release-jar-with-dependencies.jar,连接数就会释放了,当时的旧版本是mycat2-1.21-release-jar-with-dependencies.jar,是旧版本有BUG? |
解決就好,旧版本是有一些问题。没有进行优化。 |
Originally posted by @zwyqz in #791 (comment)
INFO | jvm 1 | 2023/04/16 18:12:07 | io.mycat.MycatException: com.alibaba.druid.pool.GetConnectionTimeoutException: wait millis 30000, active 2000, maxActive 2000, creating 0
The text was updated successfully, but these errors were encountered: