lua script, 200% cpu usage with nbthread 3 - haproxy hangs - __spin_lock - HA-Proxy version 1.9-dev1-e3faf02 2018/08/25

2018-08-25 Thread PiBa-NL
Hi List, Thierry, Olivier, Using a lua-socket with connect_ssl and haproxy running with nbthread 3.. results in haproxy hanging with 3 threads for me. This while using both 1.9-7/30 version (with the 2 extra patches from Olivier avoiding 100% on a single thread.) and also a build of today's

Re: [PATCH 1/2] MINOR: add be_conn_free sample fetch

2018-08-25 Thread Patrick Hemmer
On 2018/8/25 01:30, Willy Tarreau wrote: > On Fri, Aug 24, 2018 at 06:18:23PM -0400, Patrick Hemmer wrote: >>> I disagree with making a special case above for maxconn 0. In fact for me >>> it just means that such a server cannot accept connections, so it simply >>> doesn't count in the sum, just

Re: [PATCH] MEDIUM: reset lua transaction between http requests

2018-08-25 Thread Willy Tarreau
On Fri, Aug 24, 2018 at 05:53:03PM +0200, Tim Düsterhus wrote: > Willy, > > Am 24.08.2018 um 04:19 schrieb Willy Tarreau: > > Oh with H2 it's even simpler, streams are distinct from each other > > so we don't reuse them and the issue doesn't exist :-) > > > > Does this mean I should take