Sha256: 3a89765944c73b74a04e39478348ca643793daac49b324353c6af8a3798f323d
Contents?: true
Size: 1.11 KB
Versions: 1
Compression:
Stored size: 1.11 KB
Contents
== Signal handling In general, signals need only be sent to the master process. However, the signals unicorn uses internally to communicate with the worker processes are documented here as well. === Master Process * HUP - reload config file and gracefully restart all workers * 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. === Worker Processes Sending signals directly to the worker processes should not normally be needed. If the master process is running, any exited worker will be automatically respawned. * INT/TERM - quick shutdown, immediately exit * QUIT - gracefully exit after finishing the current request * USR1 - reopen all logs owned by the worker process See Unicorn::Util.reopen_logs for what is considered a log.
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
unicorn-0.1.0 | SIGNALS |