我无法终止 nginx 进程。有一些东西正在使用 python 运行:
python /usr/lib/python2.5/site-packages/producer.pyo --type=nginx
主进程和工作进程正在运行。我不知道如何终止它。使用这个命令查看sudo ps -ef | grep -i nginx
输出:
amer@stream14:/etc$ sudo ps -ef | grep -i nginx
root 3031 1 0 Oct27 ? 00:01:09 python /usr/lib/python2.5/site-packages/producer.pyo --type=nginx
root 16271 16254 0 May24 ? 00:00:00 supervise nginx-purge
www-data 17148 1 0 Oct27 ? 00:00:00 nginx: cache manager process
www-data 17296 1 0 Oct27 ? 00:00:00 nginx: cache manager process
www-data 17347 1 0 Oct27 ? 00:00:00 nginx: cache manager process
www-data 18131 1 0 Oct26 ? 00:00:00 nginx: cache manager process
www-data 20202 1 0 01:00 ? 00:00:00 nginx: cache manager process
www-data 20256 1 0 01:01 ? 00:00:00 nginx: cache manager process
www-data 20298 1 0 01:01 ? 00:00:00 nginx: cache manager process
root 20989 16254 0 01:18 ? 00:00:00 supervise nginx
root 21048 20989 0 01:19 ? 00:00:00 nginx: master process nginx
www-data 21050 21048 0 01:19 ? 00:00:00 nginx: worker process
www-data 21051 21048 0 01:19 ? 00:00:00 nginx: worker process
www-data 21052 21048 0 01:19 ? 00:00:00 nginx: worker process
www-data 21053 21048 0 01:19 ? 00:00:00 nginx: worker process
www-data 21054 21048 0 01:19 ? 00:00:00 nginx: cache manager process
www-data 21055 21048 0 01:19 ? 00:00:00 nginx: cache loader process
root 21137 16254 0 01:20 ? 00:00:00 supervise accounting-nginx
root 21138 21137 3 01:20 ? 00:00:00 python /usr/lib/python2.5/site-packages/producer.pyo --type=nginx
amer 21143 17462 0 01:20 pts/0 00:00:00 grep -i nginx