]> git.kaiwu.me - haproxy.git/commit
[MEDIUM] stats: add the "set maxconn" setting to the command line interface
authorWilly Tarreau <w@1wt.eu>
Wed, 7 Sep 2011 12:38:31 +0000 (14:38 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 7 Sep 2011 20:47:41 +0000 (22:47 +0200)
commit91886b692a743a63c3f25aca65bac3f2dc7c38bd
tree6b7f0cd787061310171cbd02f58322f7a37ac230
parentabacc2cfd11b40e62524501a40873a58ee1d3d67
[MEDIUM] stats: add the "set maxconn" setting to the command line interface

This option permits to change the global maxconn setting within the
limit that was set by the initial value, which is now reported as the
hard maxconn value. This allows to immediately accept more concurrent
connections or to stop accepting new ones until the value passes below
the indicated setting.

The main use of this option is on systems where many haproxy instances
are loaded and admins need to re-adjust resource sharing at run time
to regain a bit of fairness between processes.
doc/configuration.txt
include/types/global.h
src/dumpstats.c