You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by fl...@apache.org on 2018/03/01 17:09:52 UTC

[couchdb-documentation] branch master updated: Added information, how to increase connection limit (#250)

This is an automated email from the ASF dual-hosted git repository.

flimzy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/couchdb-documentation.git


The following commit(s) were added to refs/heads/master by this push:
     new a089a6b  Added information, how to increase connection limit (#250)
a089a6b is described below

commit a089a6b0b93cf8e0e509f2ac4aba88b9f2b2eff2
Author: Vincentas Vienožinskis <vi...@gmail.com>
AuthorDate: Thu Mar 1 19:09:50 2018 +0200

    Added information, how to increase connection limit (#250)
    
    * How to increase connection limit
    
    * Format link
    
    * Format link
    
    * Format link
    
    * Fixed grammar
---
 src/maintenance/performance.rst | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/src/maintenance/performance.rst b/src/maintenance/performance.rst
index d7a9a07..defec5e 100644
--- a/src/maintenance/performance.rst
+++ b/src/maintenance/performance.rst
@@ -212,6 +212,21 @@ This TCP buffering behaviour can be disabled via
 .. seealso::
     Bulk :ref:`load <api/db/all_docs>` and :ref:`store <api/db/bulk_docs>` API.
 
+Connection limit
+----------------
+
+`MochiWeb`_ handles CouchDB requests.
+The default maximum number of connections is 2048. To change this limit, use the
+`server_options` configuration variable. `max` indicates maximum number of
+connections.
+
+.. code-block:: ini
+
+    [chttpd]
+    server_options = [{backlog, 128}, {acceptor_pool_size, 16}, {max, 4096}]
+
+.. _MochiWeb: https://github.com/mochi/mochiweb
+
 CouchDB
 =======
 

-- 
To stop receiving notification emails like this one, please contact
flimzy@apache.org.