diff options
author | Eric Wong <e@80x24.org> | 2013-10-30 22:33:31 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2013-10-31 05:04:38 +0000 |
commit | 2710180a00635dbdf7faebc339016a045b21c863 (patch) | |
tree | 9b26ef96e2ad251393afc32e5a8cfaaaa0515643 /Documentation | |
parent | dee4be831cacbb8745b98b894c5e1ebc87078e2c (diff) | |
download | yahns-2710180a00635dbdf7faebc339016a045b21c863.tar.gz |
Users unfamiliar with the design may be confused by the fact there are two types of thread pools in a yahns process.
Diffstat (limited to 'Documentation')
-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 |