gateway-worker运行了几个小时就这个错了、然后就停止了

sam4434

报错信息

2024-06-29 12:01:11 pid:941085 process_timeout:
#1 /www/wwwroot/face/vendor/workerman/workerman/Events/Select.php(261): pcntl_signal_dispatch()
#2 /www/wwwroot/face/vendor/workerman/workerman/Worker.php(2421): Workerman\Events\Select->loop()
#3 /www/wwwroot/face/vendor/workerman/gateway-worker/src/BusinessWorker.php(197): Workerman\Worker->run()
#4 /www/wwwroot/face/vendor/workerman/workerman/Worker.php(1546): GatewayWorker\BusinessWorker->run()
#5 /www/wwwroot/face/vendor/workerman/workerman/Worker.php(1376): Workerman\Worker::forkOneWorkerForLinux()
#6 /www/wwwroot/face/vendor/workerman/workerman/Worker.php(1350): Workerman\Worker::forkWorkersForLinux()
#7 /www/wwwroot/face/vendor/workerman/workerman/Worker.php(546): Workerman\Worker::forkWorkers()
#8 /www/wwwroot/face/vendor/topthink/think-worker/src/command/GatewayWorker.php(108): Workerman\Worker::runAll()
#9 /www/wwwroot/face/vendor/topthink/think-worker/src/command/GatewayWorker.php(77): think\worker\command\GatewayWorker->start()
#10 /www/wwwroot/face/vendor/topthink/framework/src/think/console/Command.php(210): think\worker\command\GatewayWorker->execute()
#11 /www/wwwroot/face/vendor/topthink/framework/src/think/Console.php(655): think\console\Command->run()
#12 /www/wwwroot/face/vendor/topthink/framework/src/think/Console.php(314): think\Console->doRunCommand()
#13 /www/wwwroot/face/vendor/topthink/framework/src/think/Console.php(251): think\Console->doRun()
#14 /www/wwwroot/face/think(10): think\Console->run()
#15 {main}

报了几遍后就停止了

2024-06-29 12:02:14 pid:957124 Workerman[think] restart
2024-06-29 12:02:14 pid:957124 Workerman[think] is stopping ...
2024-06-29 12:02:14 pid:941076 Workerman[think] stopping ...
2024-06-29 12:02:14 pid:941076 Workerman[think] has been stopped
2024-06-29 12:02:14 pid:957124 Workerman[think] stop success

238 2 0
2个回答

稚出

大概率你用定时器了,还用错了

  • 暂无评论
不败少龙

pcntl_signal_dispatch 这个

  • 暂无评论
×
🔝