diff options
-rw-r--r-- | Documentation/yahns_config.txt | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/Documentation/yahns_config.txt b/Documentation/yahns_config.txt index 3679494..77825c0 100644 --- a/Documentation/yahns_config.txt +++ b/Documentation/yahns_config.txt @@ -370,10 +370,14 @@ Ruby it is running under. Used to control the number of threads blocking on the accept(2) or accept4(2) system call (per listen socket). - Usually, only one thread is necessary, especially when multiple - worker_processes are configured (as there'll be one thread - per-process). Having extra threads may increase contention with - epoll and FD allocation within one process. + Usually, only one thread here is necessary, especially when + multiple worker_processes are configured (as there'll be one + thread per-process). Having extra threads may increase + contention with epoll and FD allocation within one process. + + Note: do not confuse this option with worker_threads for queues, + each queue has their own thread pool and it makes sense to + have multiple threads there. Default: 1 |