首页 > 其他 > 详细

nginx 应用篇

时间:2019-01-12 17:35:08      阅读:187      评论:0      收藏:0      [点我收藏+]

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,

 

nginx 应用篇

原文:https://www.cnblogs.com/draglong/p/10260118.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!