On Tue, Oct 16, 2018 at 05:02:30PM +0200, Willy Tarreau wrote:
> On Tue, Oct 16, 2018 at 04:11:20PM +0200, Willy Tarreau wrote:
> > Could you please apply the attached patch ? I'm going to merge it into 1.9
> > and we'll backport it to 1.8 later.
>
> And please add the attached one as well, which is specific to 1.8. I
> suspect that different versions of compiler could emit inappropriate
> code due to the threads_want_sync variable not being marked volatile.
>
> In your case the issue would manifest itself if you're having heavy
> server queueing ("maxconn" on the server lines) or if you're seeing
> a lot of "server up/down" events.
>
> Thanks,
> Willy
Nice catch !
This one is a good candidate.
Regards,
Olivier