From b28f3446e5c495551862cf0f2810dd906444dc64 Mon Sep 17 00:00:00 2001 From: Willy Tarreau Date: Mon, 4 Mar 2019 08:13:43 +0100 Subject: [PATCH] DOC: update the text related to the global maxconn value Maxconn is now automatically calculated, mention this in the doc. --- doc/configuration.txt | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/doc/configuration.txt b/doc/configuration.txt index 3e49d0e98..75383f8b3 100644 --- a/doc/configuration.txt +++ b/doc/configuration.txt @@ -1347,11 +1347,12 @@ maxconn the "select" poller cannot reliably use more than 1024 file descriptors on some platforms. If your platform only supports select and reports "select FAILED" on startup, you need to reduce maxconn until it works (slightly - below 500 in general). If this value is not set, it will default to the value - set in DEFAULT_MAXCONN at build time (reported in haproxy -vv) if no memory - limit is enforced, or will be computed based on the memory limit, the buffer - size, memory allocated to compression, SSL cache size, and use or not of SSL - and the associated maxsslconn (which can also be automatic). + below 500 in general). If this value is not set, it will automatically be + calculated based on the current file descriptors limit reported by the + "ulimit -n" command, possibly reduced to a lower value if a memory limit + is enforced, based on the buffer size, memory allocated to compression, SSL + cache size, and use or not of SSL and the associated maxsslconn (which can + also be automatic). maxconnrate Sets the maximum per-process number of connections per second to .