Hi,

On Thu, Jan 02, 2020 at 04:36:58PM -0800, Sadasiva Gujjarlapudi wrote:
> Hi,
> We have observed (significant)request handling rate dropped if the TCP
> sockets were used in `http-request` action.
> Request handling rate recovered with slight increase in memory usage after
> commenting the line in `hlua_socket_connect()`/hlua.c
> `hlua->flags |= HLUA_MUST_GC`
> Doc: https://www.arpalert.org/haproxy-lua.html#h209
> 
> I want to add a param to `Socket:connect()` or add new method
> `Socket:connect2()`.
> to disable forced GC.
> Any feedback is appreciated.

Interesting! CCing Thierry who's the one who knows this best. Thierry,
please also have a look at Sada's follow up e-mail with his numbers and
config. It looks like the GC is particularly aggressive here, and I don't
know if this is really needed. Or maybe we could have a counter and only
force it once every 100 times or so ?

thanks,
Willy

Reply via email to