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

[GitHub] flimzy closed pull request #250: Added information, how to increase connection limit

flimzy closed pull request #250: Added information, how to increase connection limit
URL: https://github.com/apache/couchdb-documentation/pull/250
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

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
 =======
 


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services