标签:comm work conf 应用 roc reload inf quick sbin
nginx 信号控制(commanLine)
kill singel pid
ps aux|grep nginx
nginx 有两个进程,一个 master 一个worker
一个master管理一个或者多个worker
杀死worker进程 ps auxi|grep nginx(查看当前nginx进程)
kill -INT 26652
./sbin/nginx
ps aux|grep nginx
kill -INT 26661
term,int (quick shutdown快速杀掉)
quit (graceful shutdown 优雅的杀掉进程)
hup (configuration reload,start the new worker processes with a new configuration gracefully shutdown the old worker processes 改变配置文件,平滑的重读配置文件)
starting,quit,
标签:comm work conf 应用 roc reload inf quick sbin
原文地址:https://www.cnblogs.com/draglong/p/10260118.html