每次关闭服务会有一堆队列提示

macho

问题描述

每次关闭服务的时候会出现下方截图的问题

程序代码

报错信息

worker[channel:1632812] exit with status 9
worker[channel:1632813] exit with status 9
worker[channel:1632814] exit with status 9

worker[plugin.webman.redis-queue.consumer:1632815] exit with status 9
worker[plugin.webman.redis-queue.consumer:1632816] exit with status 9
worker[plugin.webman.redis-queue.consumer:1632817] exit with status 9

截图报错信息里报错文件相关代码

截图

操作系统及workerman/webman等框架组件版本

"php": ">=7.2",
"workerman/webman-framework": "^1.4.3",

centos8

截图追加 1

截图
截图

截图追加2

截图

562 1 0
1个回答

walkor

执行 php -v 贴下php版本
执行 php start.php status 截图下,截全

  • macho 2022-10-19

    截图已贴。见截图一

  • walkor 2022-10-19

    php start.php status 没贴,你贴的start

  • macho 2022-10-19

    大佬现在好了 不知道为啥 运维说是oom

  • walkor 2022-10-19

    截图
    服务器负载太高了,正常执行stop命令子进程退出很快,因为负载高退出速度变慢,2秒内没执行完退出,被主进程kill -9了。

  • evilk 2022-10-19

    建议设置 config/server.php / stop_timeout => 30
    避免进程被强制kill,造成数据中断

年代过于久远,无法发表回答
🔝