]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
MINOR: doc: specify ulimit-n usage for dynamic servers
authorAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 6 Aug 2021 08:25:32 +0000 (10:25 +0200)
committerAmaury Denoyelle <adenoyelle@haproxy.com>
Fri, 6 Aug 2021 09:22:01 +0000 (11:22 +0200)
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
doc/management.txt

index 2a4a670595ec9353062ab54a97cece70c45418ec..9ec017334e7c183bf3d89c9633f27846d1c7af17 100644 (file)
@@ -2006,6 +2006,10 @@ ulimit-n <number>
   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 <prefix> ] [ mode <mode> ] [ user <user> ] [ uid <uid> ]
           [ group <group> ] [ gid <gid> ]
 
index dbc32293d84a337fe90885d03aa8b10a19c41853..0fb838a7b19f4c96d9e420925c28a45f9fca019d 100644 (file)
@@ -1485,6 +1485,10 @@ add server <backend>/<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