]> granicus.if.org Git - pgbouncer/commitdiff
doc: Clarify file descriptor formula
authorPeter Eisentraut <peter@eisentraut.org>
Fri, 27 Jul 2018 15:33:17 +0000 (17:33 +0200)
committerPeter Eisentraut <peter@eisentraut.org>
Fri, 27 Jul 2018 15:33:17 +0000 (17:33 +0200)
The previous phrasing made it look like max_pool_size etc. were
configuration settings.  Perhaps this way it's a bit clearer.

fixes #190

doc/config.rst

index 50220edae54278a7ee17b85ec7e968d4c81cec4d..ed26ad720995b51f2406ffaa82a388db174e3fa3 100644 (file)
@@ -185,13 +185,13 @@ Maximum number of client connections allowed.  When increased then the file
 descriptor limits should also be increased.  Note that actual number of file
 descriptors used is more than max_client_conn.  Theoretical maximum used is::
 
-  max_client_conn + (max_pool_size * total_databases * total_users)
+  max_client_conn + (max pool_size * total databases * total users)
 
 if each user connects under its own username to server.  If a database user
 is specified in connect string (all users connect under same username),
 the theoretical maximum is::
 
-  max_client_conn + (max_pool_size * total_databases)
+  max_client_conn + (max pool_size * total databases)
 
 The theoretical maximum should be never reached, unless somebody deliberately
 crafts special load for it.  Still, it means you should set the number of