diff options
author | Eric Wong <e@80x24.org> | 2013-10-30 01:50:12 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2013-10-30 07:00:55 +0000 |
commit | 68fc0c10468f0fefa6777bdabf4712d33de1aa42 (patch) | |
tree | 46ed4bd684bed91c3440a1d57c9790db7b91896a /Documentation | |
parent | 72e20c9d7aac1837f1565cff5856e50c692304be (diff) | |
download | yahns-68fc0c10468f0fefa6777bdabf4712d33de1aa42.tar.gz |
This is probably not needed and just adds contention, but it makes experimenting easier. While we're at it, validate minimum values of for sndbuf/rcvbuf along with this new threads value, too.
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/yahns_config.txt | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Documentation/yahns_config.txt b/Documentation/yahns_config.txt index 83a330e..db2634c 100644 --- a/Documentation/yahns_config.txt +++ b/Documentation/yahns_config.txt @@ -335,6 +335,18 @@ Ruby it is running under. Default: false (unset) + + threads: INTEGER + + 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. + + Default: 1 + + umask: MODE Sets the file mode creation mask for UNIX sockets. If specified, |