couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rnew...@apache.org
Subject [1/3] documentation commit: updated refs/heads/master to 52a2879
Date Wed, 16 Nov 2016 19:35:33 GMT
Repository: couchdb-documentation
Updated Branches:
  refs/heads/master 1957f02cf -> 52a2879fa


Fix os_process_limit documentation

Update documentation with correct description of os_process_limit
parameter function, correct default value, and hints for typical
production values.

COUCHDB-3238


Project: http://git-wip-us.apache.org/repos/asf/couchdb-documentation/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-documentation/commit/e883c89f
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-documentation/tree/e883c89f
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-documentation/diff/e883c89f

Branch: refs/heads/master
Commit: e883c89f6b00edd48650dd951aca4c8ee321ef15
Parents: 1957f02
Author: Jay Doane <jay.s.doane@gmail.com>
Authored: Tue Nov 15 15:43:19 2016 -0800
Committer: Jay Doane <jay.s.doane@gmail.com>
Committed: Tue Nov 15 15:43:19 2016 -0800

----------------------------------------------------------------------
 src/config/query-servers.rst | 15 +++++++++------
 1 file changed, 9 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-documentation/blob/e883c89f/src/config/query-servers.rst
----------------------------------------------------------------------
diff --git a/src/config/query-servers.rst b/src/config/query-servers.rst
index 85b267e..bff9c57 100644
--- a/src/config/query-servers.rst
+++ b/src/config/query-servers.rst
@@ -82,16 +82,19 @@ Query Servers Configuration
             [query_server_config]
             commit_freq = 5
 
-    .. config:option:: os_process_limit :: Query Server operation timeout
+    .. config:option:: os_process_limit :: Query Server process limit
 
-        Amount of time in seconds that the Query Server may process CouchDB
-        command::
+        Hard limit on the number of OS processes usable by Query
+        Servers. The default value is ``25``::
 
             [query_server_config]
-            os_process_limit = 10
+            os_process_limit = 25
 
-        CouchDB will raise `os_process_timeout` error and kill the process in
-        case the Query Server doesn't return any result within this limit.
+        Setting `os_process_limit` too low can result in starvation of
+        Query Servers, and manifest in `os_process_timeout` errors,
+        while setting it too high can potentially use too many system
+        resources. Production settings are typically 10-100 times the
+        default value.
 
     .. config:option:: reduce_limit :: Reduce limit control
 


Mime
View raw message