来源:gunicorn
浏览 320
扫码
分享
2020-10-06 22:24:21
Master process
QUIT
, INT
: Quick shutdownTERM
: Graceful shutdown. Waits for workers to finish their current requests up to the graceful_timeout.HUP
: Reload the configuration, start the new worker processes with a new configuration and gracefully shutdown older workers. If the application is not preloaded (using the preload_app option), Gunicorn will also load the new version of it.TTIN
: Increment the number of processes by oneTTOU
: Decrement the number of processes by oneUSR1
: Reopen the log filesUSR2
: Upgrade Gunicorn on the fly. A separate TERM
signal should be used to kill the old master process. This signal can also be used to use the new versions of pre-loaded applications. See Upgrading to a new binary on the fly for more information.WINCH
: Gracefully shutdown the worker processes when Gunicorn is daemonized.