You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@james.apache.org by rc...@apache.org on 2024/09/04 09:49:48 UTC

(james-project) 07/20: [Antora] Adapt after partial - JAMES-4048 Expose unboindid basic pool setup

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

rcordier pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/james-project.git

commit 6efdb6e36e6a0ee2591afc29c4df71f4a9fce65c
Author: Tung Tran <vt...@linagora.com>
AuthorDate: Fri Aug 30 08:46:54 2024 +0700

    [Antora] Adapt after partial - JAMES-4048 Expose unboindid basic pool setup
    
    Adapt commit: a96615b9a60bfa4a4bc34fc30c01d64289d4d0f0
---
 docs/modules/servers/partials/configure/usersrepository.adoc | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/docs/modules/servers/partials/configure/usersrepository.adoc b/docs/modules/servers/partials/configure/usersrepository.adoc
index e8d40e67a6..390a772528 100644
--- a/docs/modules/servers/partials/configure/usersrepository.adoc
+++ b/docs/modules/servers/partials/configure/usersrepository.adoc
@@ -124,3 +124,15 @@ for instance in conjunction with "resolveLocalPartAttribute". This can also be u
 disactivated users (in "userListBase" but not in "userBase").
 
 Note that "userListBase" can not be specified on a per-domain-basis.
+
+=== LDAP connection pool size tuning
+
+Apache James offers some options for configuring the LDAP connection pool used by unboundid:
+
+* *poolSize*: (optional, default = 4) The maximum number of connection in the pool. Note that if the pool is exhausted,
+extra connections will be created on the fly as needed.
+* *maxWaitTime*: (optional, default = 1000) the number of milli seconds to wait before creating off-pool connections,
+using a pool connection if released in time. This effectively smooth out traffic burst, thus in some case can help
+not overloading the LDAP
+* *connectionTimeout:* (optional) Sets the connection timeout on the underlying  to the specified integer value
+* *readTimeout:* (optional) Sets property the read timeout to the specified integer value.


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@james.apache.org
For additional commands, e-mail: notifications-help@james.apache.org