diff options
author | Eric Wong <e@80x24.org> | 2013-10-29 01:28:06 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2013-10-29 02:37:05 +0000 |
commit | 66d4e85c5d8c5fa2874c6b5c73cf936e51e8537c (patch) | |
tree | a0a2f418f06a90fd0673294b9e5703b9a3bfe6c9 /Documentation | |
parent | 15cd0f840ddd736cefac02814a581f8e11c1764d (diff) | |
download | yahns-66d4e85c5d8c5fa2874c6b5c73cf936e51e8537c.tar.gz |
8K is the default for nginx, too. This prevents Ruby/malloc from getting too fragmented with large buffers and being unable to release memory back to the OS. While we're at it, update the documentation to reflect we use this parameter to control read(2) sizes, too.
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/yahns_config.txt | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Documentation/yahns_config.txt b/Documentation/yahns_config.txt index db24cad..83a330e 100644 --- a/Documentation/yahns_config.txt +++ b/Documentation/yahns_config.txt @@ -181,9 +181,10 @@ Ruby it is running under. This controls the maximum size of a request body before it is buffered to the filesystem (instead of memory). This has no effect - if input_buffering is false. + if input_buffering is false. This also governs the size of an + individual read(2) system call when reading a request body. - Default: 114688 bytes (112 kilobytes) + Default: 8192 bytes (8 kilobytes) * client_header_buffer_size INTEGER |