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

This error is reported when the queue performs for more than 20 minutes #440

Open
huangli58 opened this issue Nov 4, 2021 · 0 comments
Open
Labels
help wanted status:to be verified Needs to be reproduced and validated.

Comments

@huangli58
Copy link

Exception 'yii\redis\SocketException' with message 'Failed to read from socket.
Redis command was: ZREM cst-group-dataImportQueue2.reserved 99'

in /mnt/hgfs/www/cst-group-new/vendor/yiisoft/yii2-redis/src/Connection.php:778

Stack trace:
#0 /mnt/hgfs/www/cst-group-new/vendor/yiisoft/yii2-redis/src/Connection.php(763): yii\redis\Connection->parseResponse(Array, '*3\r\n$4\r\nZREM\r\n$...')
#1 /mnt/hgfs/www/cst-group-new/vendor/yiisoft/yii2-redis/src/Connection.php(746): yii\redis\Connection->sendCommandInternal('*3\r\n$4\r\nZREM\r\n$...', Array)
#2 /mnt/hgfs/www/cst-group-new/vendor/yiisoft/yii2-redis/src/Connection.php(683): yii\redis\Connection->executeCommand('ZREM', Array)
#3 /mnt/hgfs/www/cst-group-new/vendor/yiisoft/yii2-queue/src/drivers/redis/Queue.php(180): yii\redis\Connection->__call('zrem', Array)
#4 /mnt/hgfs/www/cst-group-new/vendor/yiisoft/yii2-queue/src/drivers/redis/Queue.php(62): yii\queue\redis\Queue->delete('99')
#5 [internal function]: yii\queue\redis\Queue->yii\queue\redis{closure}(Object(Closure))
#6 /mnt/hgfs/www/cst-group-new/vendor/yiisoft/yii2-queue/src/cli/Queue.php(117): call_user_func(Object(Closure), Object(Closure))
#7 /mnt/hgfs/www/cst-group-new/vendor/yiisoft/yii2-queue/src/drivers/redis/Queue.php(68): yii\queue\cli\Queue->runWorker(Object(Closure))
#8 /mnt/hgfs/www/cst-group-new/vendor/yiisoft/yii2-queue/src/drivers/redis/Command.php(76): yii\queue\redis\Queue->run(true, 3)
#9 [internal function]: yii\queue\redis\Command->actionListen(3)
#10 /mnt/hgfs/www/cst-group-new/vendor/yiisoft/yii2/base/InlineAction.php(57): call_user_func_array(Array, Array)
#11 /mnt/hgfs/www/cst-group-new/vendor/yiisoft/yii2/base/Controller.php(157): yii\base\InlineAction->runWithParams(Array)
#12 /mnt/hgfs/www/cst-group-new/vendor/yiisoft/yii2/console/Controller.php(164): yii\base\Controller->runAction('listen', Array)
#13 /mnt/hgfs/www/cst-group-new/vendor/yiisoft/yii2/base/Module.php(528): yii\console\Controller->runAction('listen', Array)
#14 /mnt/hgfs/www/cst-group-new/vendor/yiisoft/yii2/console/Application.php(180): yii\base\Module->runAction('data-import-que...', Array)
#15 /mnt/hgfs/www/cst-group-new/vendor/yiisoft/yii2/console/Application.php(147): yii\console\Application->runAction('data-import-que...', Array)
#16 /mnt/hgfs/www/cst-group-new/vendor/yiisoft/yii2/base/Application.php(386): yii\console\Application->handleRequest(Object(yii\console\Request))
#17 /mnt/hgfs/www/cst-group-new/yii(23): yii\base\Application->run()
#18 {main}

@samdark samdark added help wanted status:to be verified Needs to be reproduced and validated. labels Nov 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted status:to be verified Needs to be reproduced and validated.
Projects
None yet
Development

No branches or pull requests

2 participants