From 8274e105b752f70c41e49aa21c3f50531e986639 Mon Sep 17 00:00:00 2001 From: Willy Tarreau Date: Thu, 19 Jun 2014 15:31:25 +0200 Subject: [PATCH] DOC: mention the maxconn limitations with the select poller Select()'s safe area is limited to 1024 FDs, and anything higher than this will report "select: FAILED" on startup in debug mode, so better document it. --- doc/configuration.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/doc/configuration.txt b/doc/configuration.txt index 6d215eb5be..610984b967 100644 --- a/doc/configuration.txt +++ b/doc/configuration.txt @@ -739,7 +739,11 @@ maxconn Sets the maximum per-process number of concurrent connections to . It is equivalent to the command-line argument "-n". Proxies will stop accepting connections when this limit is reached. The "ulimit-n" parameter is - automatically adjusted according to this value. See also "ulimit-n". + automatically adjusted according to this value. See also "ulimit-n". Note: + 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). maxconnrate Sets the maximum per-process number of connections per second to .