Update faq.rst

tell there is a wip about the thundering herd problem. Also put a not on how watch logs in the console since many people asked for it.
This commit is contained in:
Benoit Chesneau 2014-06-27 10:26:01 +02:00
parent 7b7f3e6c0b
commit 3b79f161f7

View File

@ -90,11 +90,18 @@ may be either threads or processes, wake up at the same time to handle an new
request. Since only one handler will receive the request, the others will have
been awakened for no reaon, wasting CPU cycles. At this time, Gunicorn does not
implement any IPC solution for coordinating between worker processes. You may
experience high load due to this problem when using many workers or threads.
experience high load due to this problem when using many workers or threads.
However `a work has been started <https://github.com/benoitc/gunicorn/issues/792>`_ to remove this issue.
.. _worker_class: configure.html#worker-class
.. _`number of workers`: design.html#how-many-workers
Why I don't see any logs in the console?
----------------------------------------
Since the version R19, Gunicorn doesn't log by default in the console.
To watch the logs in the console you now need to use the option ``--log-file=-`.
Kernel Parameters
=================