diff options
author | Eric Wong <normalperson@yhbt.net> | 2009-04-24 13:36:49 -0700 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2009-04-24 13:36:49 -0700 |
commit | e74dac7aebd453449d632c697cb05a277c998690 (patch) | |
tree | 303bfd4efa97caa9fe4248b1110dcd1dcf758101 /SIGNALS | |
parent | 3baf3e68c1a7f4d1187e292cc5001fb1dc379194 (diff) | |
download | unicorn-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-- | SIGNALS | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 |