当前位置:编程学习 > php >>

Workerman[start.php] stop fail 停止(或重启)失败

执行 php start.php stop 报错:

Workerman stop
Workerman is stoping ...
Workerman stop fail
InfoCopy
停止不了,用 restart 重启也不行。

查看到 php start.php stop命令无效? 的帖子,里面提到有可能是失误按了ctrl+z 把进程挂起了。

ps aux | grep php 找到 workerman 进程,kill -9 xxx 关闭进程即可。

killall -9 php ps aux|grep -i workerman|awk '{print $2}'|xargs kill -9
CopyRight © 2022 站长资源库 编程知识问答 zzzyk.com All Rights Reserved
部分文章来自网络,