Hi Olivier,

On Fri, Mar 24, 2017 at 11:00:01AM +0100, Olivier Doucet wrote:
> When you say "each proxy", do you mean each frontend ? If so, it would be
> extremely useful !

Yes that's it. In fact technically speaking, frontends and backends are
proxies and are present in the same list. Cyril's code only takes care
of frontends here.

> We would be able to see if this is always the same ones
> having very long connections opened.

Absolultely. And it's expected that these are always the same for most
users.

> But if backport is easier with just a global counter, I'm OK with this.

Cyril's patch is easy to backport and riskless because his code is never
triggered if you don't set the directive in the global section. So I'm
all for backporting it.

> Can I ask for one more feature ? Would it be possible to dump basic info
> about connections killed ? I mean srcip:srcport + timestamp of when
> connection was open (if available).

They will normally appear in the logs as the sessions terminate, which
is the reason why we allow for up to one extra second after they are
killed.

Cheers,
Willy

Reply via email to