about summary refs log tree commit homepage
path: root/SIGNALS
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2009-04-03 00:09:16 -0700
committerEric Wong <normalperson@yhbt.net>2009-04-03 02:16:51 -0700
commit539ca9a0efc692edde5448d3e4007d35372e033d (patch)
tree426e62a71fa3f54c7e9e3700b554804a92e438ec /SIGNALS
parentff59e34b6957bc6da2ac3e6c1453adcac9f591b4 (diff)
downloadunicorn-539ca9a0efc692edde5448d3e4007d35372e033d.tar.gz
Reword and expand a bit
Diffstat (limited to 'SIGNALS')
-rw-r--r--SIGNALS15
1 files changed, 11 insertions, 4 deletions
diff --git a/SIGNALS b/SIGNALS
index 671e8a5..fc0fa31 100644
--- a/SIGNALS
+++ b/SIGNALS
@@ -7,7 +7,7 @@ processes are documented here as well.
 === Master Process
 
  * HUP - reload config file and gracefully restart all workers
-   If preload_app is false (the default), the application code
+   If "preload_app" is false (the default), the application code
    will be reloaded when workers are restarted as well.
 
  * INT/TERM - quick shutdown, kills all workers immediately
@@ -31,12 +31,19 @@ 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
+ * INT/TERM - Quick shutdown, immediately exit.
+   Unless WINCH has been sent to the master (or the master is killed),
+   the master process will respawn a worker to replace this one.
 
- * QUIT - gracefully exit after finishing the current request
+ * QUIT - Gracefully exit after finishing the current request.
+   Unless WINCH has been sent to the master (or the master is killed),
+   the master process will respawn a worker to replace this one.
 
- * USR1 - reopen all logs owned by the worker process
+ * USR1 - Reopen all logs owned by the worker process.
    See Unicorn::Util.reopen_logs for what is considered a log.
+   Log files are not reopened until it is done processing
+   the current request, so multiple log lines for one request
+   (as done by Rails) will not be split across multiple logs.
 
 === Procedure to replace a running unicorn executable