-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
数据库连接池无法获取连接 #161
Comments
谢谢! |
通过设置连接有效期,让连接在超过有效期后自动断开。 |
|
感谢! 我增加配置后重新部署一下,如果14天内问题不再发生,我就将此issue关闭! |
增加配置后,问题仍然出现,liftTime已经生效,为配置文件的默认值 10分钟。 |
现在情况如何 |
遇到了相似的问题,这个配置的链接已经失效,能麻烦再把配置给出来吗 |
最新master分支直接配置 |
你好,你遇到的问题解决了没 |
版本:1.9 RELEASE
最近程序跑得好好的会突然出现所有接口都无响应的情况,排查之后发现只要用到了Mysql的接口才有问题;
用Arthas工具查了查连接池,一个idle连接都没有了;
ReactorNettyClient 类
另外日志上有这个日志:
[dev.miku.r2dbc.mysql.client.MessageDuplexCodec.channelInactive][136] [Connection has been closed by peer]
我做过的尝试
我的猜测
在mysql驱动和pool的github issues上都有类似的pool挂了的问题,似乎还没有被最终解决,驱动作者应该在忙着其他事情;
issues 链接如下:
mirromutth/r2dbc-mysql#82
不知老周有没有遇到此问题,感谢解惑~
PS: 老周代码功力真强!
The text was updated successfully, but these errors were encountered: