From 0ac7f70c85f3be8fc65d814473b9a5a5a0aed0f7 Mon Sep 17 00:00:00 2001 From: Robert Newson Date: Wed, 10 Aug 2011 21:06:50 +0000 Subject: COUCHDB-1245 - enforce maximum chunk size for _log call to better manage memory. git-svn-id: https://svn.apache.org/repos/asf/couchdb/branches/1.1.x@1156369 13f79535-47bb-0310-9956-ffa450edef68 --- etc/couchdb/default.ini.tpl.in | 1 + 1 file changed, 1 insertion(+) (limited to 'etc') diff --git a/etc/couchdb/default.ini.tpl.in b/etc/couchdb/default.ini.tpl.in index 1592e330..18a5c1c8 100644 --- a/etc/couchdb/default.ini.tpl.in +++ b/etc/couchdb/default.ini.tpl.in @@ -24,6 +24,7 @@ allow_jsonp = false ;server_options = [{backlog, 128}, {acceptor_pool_size, 16}] ; For more socket options, consult Erlang's module 'inet' man page. ;socket_options = [{recbuf, 262144}, {sndbuf, 262144}, {nodelay, true}] +log_max_chunk_size = 1000000 [ssl] port = 6984 -- cgit v1.2.3