SIGTT{IN,OU} {in,de}crements worker_processes
commite74dac7aebd453449d632c697cb05a277c998690
authorEric Wong <normalperson@yhbt.net>
Fri, 24 Apr 2009 20:36:49 +0000 (24 13:36 -0700)
committerEric Wong <normalperson@yhbt.net>
Fri, 24 Apr 2009 20:36:49 +0000 (24 13:36 -0700)
tree303bfd4efa97caa9fe4248b1110dcd1dcf758101
parent3baf3e68c1a7f4d1187e292cc5001fb1dc379194
SIGTT{IN,OU} {in,de}crements worker_processes

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.
SIGNALS
TODO
lib/unicorn.rb
test/exec/test_exec.rb