From e74dac7aebd453449d632c697cb05a277c998690 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Fri, 24 Apr 2009 13:36:49 -0700 Subject: 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 | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'SIGNALS') 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 -- cgit v1.2.3-24-ge0c7