From 414a612bb3fdda2b05253ca16d94d3e3cc4e1abf Mon Sep 17 00:00:00 2001 From: Amaury Denoyelle Date: Fri, 6 Aug 2021 10:25:32 +0200 Subject: [PATCH] MINOR: doc: specify ulimit-n usage for dynamic servers Complete the documentation of the dynamic servers to warn about a possible fd resource exhaustion when using a large number of them. --- doc/configuration.txt | 4 ++++ doc/management.txt | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/doc/configuration.txt b/doc/configuration.txt index 2a4a670595..9ec017334e 100644 --- a/doc/configuration.txt +++ b/doc/configuration.txt @@ -2006,6 +2006,10 @@ ulimit-n default, it is automatically computed, so it is recommended not to use this option. + Note that the dynamic servers are not taken into account in this automatic + resource calculation. If using a large number of them, it may be needed to + manually specify this value. + unix-bind [ prefix ] [ mode ] [ user ] [ uid ] [ group ] [ gid ] diff --git a/doc/management.txt b/doc/management.txt index dbc32293d8..0fb838a7b1 100644 --- a/doc/management.txt +++ b/doc/management.txt @@ -1485,6 +1485,10 @@ add server / [args]* be first deactivated via "disable agent" to be able to put the server in the required maintenance mode before removal. + It may be possible to reach the fd limit when using a large number of dynamic + servers. Please refer to the "u-limit" global keyword documentation in this + case. + Here is the list of the currently supported keywords : - agent-addr