【Nginx】信号量

版权声明:版权所有,转载请标明链接。 https://blog.csdn.net/happyniceyq/article/details/81435905

TERM, INT

Quick shutdown

 

 

QUIT

Graceful shutdown

优雅的关闭进程,即等请求结束后再关闭

KILL

Halts a stubborn process

HUP

Configuration reloadStart the new worker processes with a new configurationGracefully shutdown the old worker processes

改变配置文件,平滑的重读配置文件

USR1

Reopen the log files

重读日志,在日志按日、月分割时有用

USR2

Upgrade Executable on the fly

平滑的升级

WINCH

Gracefully shutdown the worker processes

优雅关闭旧的进程,配合user2来进行升级

 

 

猜你喜欢

转载自blog.csdn.net/happyniceyq/article/details/81435905