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

2018-08-29 Thread Frederic Lecaille
On 08/28/2018 11:19 AM, Frederic Lecaille wrote: On 08/27/2018 10:46 PM, PiBa-NL wrote: Hi Frederic, Oliver, Hi Pieter, Thanks for your investigations :). I've made a little reg-test (files attached). Its probably not 'correct' to commit as-is, but should be enough to get a reproduction..

[PATCH] BUG/MAJOR: thread: lua: Wrong SSL context initialization.

2018-08-29 Thread Frederic Lecaille
This patch is in relation with one bug reproduced by the reg testing file sent by Pieter in this thread: https://www.mail-archive.com/haproxy@formilux.org/msg31079.html Must be checked by Thierry. Must be backported to 1.8. Note that Pieter reg testing files reg-tests/lua/b2.* come with

Re: [PATCH] BUG/MAJOR: thread: lua: Wrong SSL context initialization.

2018-08-29 Thread Olivier Houchard
On Wed, Aug 29, 2018 at 02:11:45PM +0200, Frederic Lecaille wrote: > This patch is in relation with one bug reproduced by the reg testing file > sent by Pieter in this thread: > https://www.mail-archive.com/haproxy@formilux.org/msg31079.html > > Must be checked by Thierry. > Must be backported to

Re: [PATCH] BUG/MAJOR: thread: lua: Wrong SSL context initialization.

2018-08-29 Thread PiBa-NL
Op 29-8-2018 om 14:29 schreef Olivier Houchard: On Wed, Aug 29, 2018 at 02:11:45PM +0200, Frederic Lecaille wrote: This patch is in relation with one bug reproduced by the reg testing file sent by Pieter in this thread: https://www.mail-archive.com/haproxy@formilux.org/msg31079.html Must be

Re: How to verify HAProxy build on Solaris/SPARC ?

2018-08-29 Thread Willy Tarreau
Hi Tom, On Wed, Aug 29, 2018 at 05:05:20PM -0700, Tom Hood wrote: > Hi, > > I've built haproxy 1.8.9 with gcc 4.2.0 on Solaris 10, but I'm not sure how > to verify my build. Well, first and foremost, you must absolutely use an up-to-date version in the branch you choose. Latest version in the

How to verify HAProxy build on Solaris/SPARC ?

2018-08-29 Thread Tom Hood
Hi, I've built haproxy 1.8.9 with gcc 4.2.0 on Solaris 10, but I'm not sure how to verify my build. I had to define THREAD_LOCAL to be empty in include/common/config.h, but otherwise it seemed to build cleanly. Build command: gmake TARGET=solaris CPU=ultrasparc USE_OPENSSL=1 SSL_INC= SSL_LIB=