about summary refs log tree commit homepage
path: root/Documentation
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2013-10-29 01:28:06 +0000
committerEric Wong <e@80x24.org>2013-10-29 02:37:05 +0000
commit66d4e85c5d8c5fa2874c6b5c73cf936e51e8537c (patch)
treea0a2f418f06a90fd0673294b9e5703b9a3bfe6c9 /Documentation
parent15cd0f840ddd736cefac02814a581f8e11c1764d (diff)
downloadyahns-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.txt5
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