Skip to content
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

经常出现MySQL server has gone away #221

Open
Jessppp opened this issue Mar 17, 2022 · 3 comments
Open

经常出现MySQL server has gone away #221

Jessppp opened this issue Mar 17, 2022 · 3 comments

Comments

@Jessppp
Copy link

Jessppp commented Mar 17, 2022

easyswoole框架版本号、orm组件版本号 [Version]

swoole: 4.6.7
easyswoole: 3.4.6
orm: 1.5.0

问题描述和截图 [Question]

image

排查情况和最小复现脚本 [Tests and Recurrence]

不定时的出现,我们这边使用文档中推荐使用的自定义进程作为消息队列服务,全是在该进程中出现的

@kyour-cn
Copy link

好像需要使用sleep触发连接池回收

@Jessppp
Copy link
Author

Jessppp commented Mar 28, 2022

好像需要使用sleep触发连接池回收

目前我们这边改了消息队列用自定义进程的方式,暂时没有出现gone away了

@XueSiLf
Copy link
Contributor

XueSiLf commented Jun 10, 2022

可以截图看看您的复现代码吗?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants