Hi Olivier and Willy,
Le 23/03/2017 à 14:50, Willy Tarreau a écrit :
Hi Olivier,
On Thu, Mar 23, 2017 at 02:17:38PM +0100, Olivier Doucet wrote:
I was also thinking about dumping how many connections were force-killed in
log, if it's easy.
I thought about it as well while responding but forgot to mention it. That's
also why I'd prefer to leave one extra second for the connections to cleanly
close and log. Yes it's important.
Of course I can add some logs. Currently, when haproxy enters
"soft-stop", it sends one log line for each proxy, indicating it's
stopping :
[WARNING] 081/213056 (19942) : Stopping proxy test in 0 ms.
[WARNING] 081/213056 (19942) : Proxy test stopped (FE: 500 conns, BE: 0
conns).
I think we can add a new log line for each proxy having opened
connections, where the number of remaining connections is read from
"feconn":
[WARNING] 081/213101 (19942) : Proxy test hard-stopped (500 remaining
conns will be closed).
or do you prefer a global counter ?
--
Cyril Bonté