Re: Idle HAProxy 1.8 spins at 100% in user space

2018-03-12 Thread Cyril Bonté
Le 12/03/2018 à 14:11, Krishna Kumar (Engineering) a écrit : Hi Cyril, Thanks, this patch fixes it, it is now back to 0%. Confirmed it a few times, and undid the patch, back to 100%, and re-added the patch, back to 0%. Fixes perfectly. Thanks for confirming, I'm preparing the patch with a

Re: Idle HAProxy 1.8 spins at 100% in user space

2018-03-12 Thread Krishna Kumar (Engineering)
Hi Cyril, Thanks, this patch fixes it, it is now back to 0%. Confirmed it a few times, and undid the patch, back to 100%, and re-added the patch, back to 0%. Fixes perfectly. Thanks, - Krishna On Mon, Mar 12, 2018 at 5:23 PM, Willy Tarreau wrote: > On Mon, Mar 12, 2018 at

Re: Idle HAProxy 1.8 spins at 100% in user space

2018-03-12 Thread Willy Tarreau
On Mon, Mar 12, 2018 at 12:36:05PM +0100, Cyril Bonté wrote: > I confirm I can reproduce the issue once 32 (and more) threads are used : the > main process enters an endless loop. > I think the same issue may occur with nbproc on FreeBSD (the same code in an > #ifdef FreeBSD__). > > Can you

Re: Idle HAProxy 1.8 spins at 100% in user space

2018-03-12 Thread Cyril Bonté
Hi Krishna and Willy, - Mail original - > De: "Krishna Kumar (Engineering)" <krishna...@flipkart.com> > À: "HAProxy" <haproxy@formilux.org> > Envoyé: Lundi 12 Mars 2018 07:48:50 > Objet: Idle HAProxy 1.8 spins at 100% in user space >

Idle HAProxy 1.8 spins at 100% in user space

2018-03-12 Thread Krishna Kumar (Engineering)
As an aside, could someone also post a simple configuration file to enable 40 listeners (thread)? I get 100% cpu util when running high number (>30, on a 48 core system) of threads, I have tried both these versions: HA-Proxy version 1.8.4-1ppa1~xenial 2018/02/10: Installed via .deb file HA-Proxy