欧卡2中文社区

 找回密码
 立即注册

QQ登录

只需一步,快速开始

需要三步,才能开始

只需两步,慢速开始

欧卡2入门方向盘选莱仕达V9莱仕达折叠便携游戏方向盘支架欢迎地图Mod入驻
查看: 5875|回复: 0
收起左侧

[互联网] kill 信号

[复制链接]
宁静致远 发表于 2015-8-11 23:27 | 显示全部楼层 |阅读模式
HUP - reloads config file and gracefully restart all workers. If the "preload_app" directive is false (the default), then workers will also pick up any application code changes when restarted. If "preload_app" is true, then application code changes will have no effect; USR2 + QUIT (see below) must be used to load newer code in this case. When reloading the application, Gem.refresh will be called so updated code for your application can pick up newly installed RubyGems. It is not recommended that you uninstall libraries your application depends on while Unicorn is running, as respawned workers may enter a spawn loop when they fail to load an uninstalled dependency.

INT/TERM - quick shutdown, kills all workers immediately

QUIT - graceful shutdown, waits for workers to finish their current request before finishing.

USR1 - reopen all logs owned by the master and all workers See Unicorn::Util.reopen_logs for what is considered a log.

USR2 - reexecute the running binary. A separate QUIT should be sent to the original process once the child is verified to be up and running.

WINCH - gracefully stops workers but keep the master running. This will only work for daemonized processes.

TTIN - increment the number of worker processes by one

TTOU - decrement the number of worker processes by one
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

联系我们|手机版|欧卡2中国 ( 湘ICP备11020288号-1 )

GMT+8, 2024-11-25 11:34 , Processed in 0.035549 second(s), 9 queries , Redis On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

快速回复 返回顶部 返回列表