From 27623d8393a3187ca827f752efc1956cbb89cef5 Mon Sep 17 00:00:00 2001 From: Valentine Krasnobaeva Date: Wed, 12 Jun 2024 10:39:02 +0200 Subject: [PATCH] DOC/MINOR: management: add missed -dR and -dv options Add some description for missed -dR and -dv command line options in the "3. Starting HAProxy" chapter. Need to be backported in every stable version. --- doc/management.txt | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/doc/management.txt b/doc/management.txt index 76357ecd9d..01eda5bc9a 100644 --- a/doc/management.txt +++ b/doc/management.txt @@ -360,6 +360,11 @@ list of options is : the byte's value to -dM but using this option allows to disable/enable use of a previously set value. + -dR : disable SO_REUSEPORT socket option on listening ports. It is equivalent + to the "global" section's "noreuseport" keyword. This may be applied in + multi-threading scenarios, when load distribution issues observed among the + haproxy threads (could be monitored with top). + -dS : disable use of the splice() system call. It is equivalent to the "global" section's "nosplice" keyword. This may be used when splice() is suspected to behave improperly or to cause performance issues, or when @@ -419,6 +424,12 @@ list of options is : level name, the list of available keywords is presented. For example it can be convenient to pass 'help' for each field to consult the list first. + -dv : disable the use of the "evports" poller. It is equivalent to the + "global" section's keyword "noevports". It is mostly useful when suspecting + a bug related to this poller. On systems supporting event ports (SunOS + derived from Solaris 10 and later), the fallback will generally be the + "poll" poller. + -m : limit allocatable memory, which is used to keep process's data, to megabytes. This may cause some connection refusals or some slowdowns depending on the amount of memory needed for normal operations.