about summary refs log tree commit homepage
path: root/SIGNALS
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2009-04-24 13:36:49 -0700
committerEric Wong <normalperson@yhbt.net>2009-04-24 13:36:49 -0700
commite74dac7aebd453449d632c697cb05a277c998690 (patch)
tree303bfd4efa97caa9fe4248b1110dcd1dcf758101 /SIGNALS
parent3baf3e68c1a7f4d1187e292cc5001fb1dc379194 (diff)
downloadunicorn-e74dac7aebd453449d632c697cb05a277c998690.tar.gz
This allows dynamic tuning of the worker_processes count without
having to restart existing ones.  This also allows
worker_processes to be set to a low initial amount in the config
file for low-traffic deployments/upgrades and then scaled up as
the old processes are killed off.

Remove the proposed reexec_worker_processes from TODO since this
is far more flexible and powerful.

This will allow not-yet-existent third-party monitoring tools to
dynamically change and scale worker processes according to site
load without increasing the complexity of Unicorn itself.
Diffstat (limited to 'SIGNALS')
-rw-r--r--SIGNALS4
1 files changed, 4 insertions, 0 deletions
diff --git a/SIGNALS b/SIGNALS
index fc0fa31..7cd087f 100644
--- a/SIGNALS
+++ b/SIGNALS
@@ -25,6 +25,10 @@ processes are documented here as well.
  * 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
+
 === Worker Processes
 
 Sending signals directly to the worker processes should not normally be