Home  >  Article  >  PHP Framework  >  How to kill worker process

How to kill worker process

爱喝马黛茶的安东尼
爱喝马黛茶的安东尼Original
2019-12-06 09:20:195858browse

How to kill worker process

方法一:在启动workerman的终端输入fg(发送SIGCONT信号)然后回车,将workerman切回前台运行,按ctrl c(发送SIGINT信号)停止workerman。

方法二:如果无法停止,尝试运行以下两条命令:

killall -9 php
ps aux|grep -i workerman|awk '{print $2}'|xargs kill -9

PHP中文网,有大量免费的workerman入门教程,欢迎大家学习!

The above is the detailed content of How to kill worker process. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn