Pool error is Swoft\Connection\Pool\AbstractPool::popByChannel(): Send of 5 bytes failed with errno=110 Operation timed out file=/var/www/vendor/swoft/connection-pool/src/AbstractPool.php line=289. (At /var/www/vendor/swoft/db/src/DB.php line 81) · Issue #1465 · swoft-cloud/swoft · GitHub
You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Pool error is Swoft\Connection\Pool\AbstractPool::popByChannel(): Send of 5 bytes failed with errno=110 Operation timed out file=/var/www/vendor/swoft/connection-pool/src/AbstractPool.php line=289. (At /var/www/vendor/swoft/db/src/DB.php line 81) #1465
Activity
stevenscl commentedon Feb 9, 2022
Dockerfile
stevenscl commentedon Feb 9, 2022
数据库连接池配置

stevenscl commentedon Feb 9, 2022
测试发现,minActive = 5,则前面连续5次请求均失败,第6次恢复正常
laishaolin commentedon May 6, 2022
这个问题已经很久了官方都没有解决,只能自己在定时器上写个查询,不停的给DB发查询请求来保活;我现在改了连接池的底层实现,但偶尔还会来一个上面那样的请求错误。
这样的更新维护效率swoft终究是要被淘汰的。