]> git.ipfire.org Git - thirdparty/haproxy.git/commit
[MEDIUM] stats: add support for changing frontend's maxconn at runtime
authorWilly Tarreau <w@1wt.eu>
Tue, 2 Aug 2011 09:49:05 +0000 (11:49 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 2 Aug 2011 09:49:05 +0000 (11:49 +0200)
commit2a0f4d27a4a63ddb3788f3277f20ba15dc709f34
tree64414011985e5e54a8fc80ffc07b809b5ada01b8
parentf5f3192e1e755f8e91397f8936593c2fe5d67aa4
[MEDIUM] stats: add support for changing frontend's maxconn at runtime

The new "set maxconn frontend XXX" statement on the stats socket allows
the admin to change a frontend's maxconn value. If some connections are
queued, they will immediately be accepted up to the new limit. If the
limit is lowered, new connections acceptation might be delayed. This can
be used to temporarily reduce or increase the impact of a specific frontend's
traffic on the whole process.
doc/configuration.txt
src/dumpstats.c