1
ysc3839 2022-01-19 18:19:51 +08:00
有三个 master process ,每个 master process 有一个 worker process ,不是很正常吗?
|
2
lualuer 2022-01-19 18:36:09 +08:00
ps -ef| grep nginx
root 2232 1 0 17:54 ? 00:00:00 nginx: master process nginx nginx 2233 2232 0 17:54 ? 00:00:12 nginx: worker process root 2234 2232 0 17:54 ? 00:00:07 nginx: privileged agent process root 2413 2342 0 18:30 pts/3 00:00:00 grep --color=auto nginx 这样可以看到每个 worker 进程对应的 master 进程 id (比如这个 2232 ) |
3
lander OP 原来如此,多谢两位!!
|