mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
close #287 .
describe explicitely where TTIN & TTOU signals should be sent.
This commit is contained in:
parent
4888dc2ede
commit
9d89d4b00a
@ -83,13 +83,16 @@ Here is our recommendation for tuning the `number of workers`_.
|
|||||||
How can I change the number of workers dynamically?
|
How can I change the number of workers dynamically?
|
||||||
---------------------------------------------------
|
---------------------------------------------------
|
||||||
|
|
||||||
To increase the worker count by one::
|
TTIN and TTOU signals can be sent to the master to increase or decrease
|
||||||
|
the number of workers.
|
||||||
|
|
||||||
$ kill -TTIN $masterpid
|
To increase the worker count by one::
|
||||||
|
|
||||||
To decrease the worker count by one::
|
|
||||||
|
|
||||||
$ kill -TTOU $masterpid
|
$ kill -TTIN $masterpid
|
||||||
|
|
||||||
|
To decrease the worker count by one::
|
||||||
|
|
||||||
|
$ kill -TTOU $masterpid
|
||||||
|
|
||||||
.. _design: /design.html
|
.. _design: /design.html
|
||||||
.. _worker_class: /configure.html#worker-class
|
.. _worker_class: /configure.html#worker-class
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user