swoft-cloud / swoft

🚀 PHP Microservice Full Coroutine Framework
https://swoft.org
Apache License 2.0
5.58k stars 786 forks source link

Pool error is Swoft\Db\Connection\Connection::close(): Send of 5 bytes failed with errno=104 Connection reset by peer #1364

Open JoeXiong opened 4 years ago

JoeXiong commented 4 years ago
Q A
Bug report? yes
Swoft version 2.0.10
Swoole version 4.5.3
PHP version 7.2.29
Runtime environment Docker etc.
2020/09/16-10:00:21 [ERROR] Swoft\Http\Server\HttpErrorDispatcher:run(50) Http Error Swoft\Db\Exception\DbException(code:0) Pool error is Swoft\Db\Connection\Connection::close(): Send of 5 bytes failed with errno=104 Connection reset by peer file=/home/www/openhome/vendor/swoft/db/src/Connection/Connection.php line=203
2020/09/16-10:00:22 [ERROR] Swoft\Http\Server\HttpErrorDispatcher:run(50) Http Error Swoft\Db\Exception\DbException(code:0) Pool error is Swoft\Db\Connection\Connection::close(): Send of 5 bytes failed with errno=104 Connection reset by peer file=/home/www/openhome/vendor/swoft/db/src/Connection/Connection.php line=203
2020/09/16-10:18:56 [ERROR] Swoft\Http\Server\HttpErrorDispatcher:run(50) Http Error Swoft\Db\Exception\DbException(code:0) Pool error is Swoft\Db\Connection\Connection::close(): Send of 5 bytes failed with errno=104 Connection reset by peer file=/home/www/openhome/vendor/swoft/db/src/Connection/Connection.php line=203
2020/09/16-10:18:56 [ERROR] Swoft\Http\Server\HttpErrorDispatcher:run(50) Http Error Swoft\Db\Exception\DbException(code:0) Pool error is Swoft\Db\Connection\Connection::close(): Send of 5 bytes failed with errno=104 Connection reset by peer file=/home/www/openhome/vendor/swoft/db/src/Connection/Connection.php line=203
2020/09/16-10:19:05 [ERROR] Swoft\Http\Server\HttpErrorDispatcher:run(50) Http Error Swoft\Db\Exception\DbException(code:0) Pool error is Swoft\Db\Connection\Connection::close(): Send of 5 bytes failed with errno=104 Connection reset by peer file=/home/www/openhome/vendor/swoft/db/src/Connection/Connection.php line=203
2020/09/16-10:19:13 [ERROR] Swoft\Http\Server\HttpErrorDispatcher:run(50) Http Error Swoft\Db\Exception\DbException(code:0) Pool error is Swoft\Db\Connection\Connection::close(): Send of 5 bytes failed with errno=104 Connection reset by peer file=/home/www/openhome/vendor/swoft/db/src/Connection/Connection.php line=203
xxdyu commented 4 years ago

4.5.3 is false you can test 4.5.2 that is stable