Re: haproxy requests hanging since b0bdae7

2018-06-06 Thread Willy Tarreau
On Wed, Jun 06, 2018 at 04:22:22PM +0200, Olivier Houchard wrote: > The last patch depended on the first one, so without it that failure is > expected. and confirms the benefit of catching such cases at build time :-) > Thanks a lot for reporting and testing. > > Willy, I think you can push

Re: haproxy requests hanging since b0bdae7

2018-06-06 Thread Olivier Houchard
On Wed, Jun 06, 2018 at 10:06:30AM -0400, Patrick Hemmer wrote: > > > On 2018/6/6 08:24, Olivier Houchard wrote: > > Hi Willy, > > > > On Wed, Jun 06, 2018 at 02:09:01PM +0200, Willy Tarreau wrote: > >> On Wed, Jun 06, 2018 at 02:04:35PM +0200, Olivier Houchard wrote: > >>> When building without

Re: haproxy requests hanging since b0bdae7

2018-06-06 Thread Patrick Hemmer
On 2018/6/6 08:24, Olivier Houchard wrote: > Hi Willy, > > On Wed, Jun 06, 2018 at 02:09:01PM +0200, Willy Tarreau wrote: >> On Wed, Jun 06, 2018 at 02:04:35PM +0200, Olivier Houchard wrote: >>> When building without threads enabled, instead of just using the global >>> runqueue, just use the

Re: haproxy requests hanging since b0bdae7

2018-06-06 Thread Willy Tarreau
On Wed, Jun 06, 2018 at 02:24:29PM +0200, Olivier Houchard wrote: > > Just out of curiosity, shouldn't we #ifdef out the global runqueue > > definition when running without threads in order to catch such cases > > in the future ? > > > > I think this is actually a good idea. > My only concern is

Re: haproxy requests hanging since b0bdae7

2018-06-06 Thread Olivier Houchard
Hi Willy, On Wed, Jun 06, 2018 at 02:09:01PM +0200, Willy Tarreau wrote: > On Wed, Jun 06, 2018 at 02:04:35PM +0200, Olivier Houchard wrote: > > When building without threads enabled, instead of just using the global > > runqueue, just use the local runqueue associated with the only thread, as >

Re: haproxy requests hanging since b0bdae7

2018-06-06 Thread Willy Tarreau
On Wed, Jun 06, 2018 at 02:04:35PM +0200, Olivier Houchard wrote: > When building without threads enabled, instead of just using the global > runqueue, just use the local runqueue associated with the only thread, as > that's what is now expected for a single thread in prcoess_runnable_tasks().

Re: haproxy requests hanging since b0bdae7

2018-06-06 Thread Olivier Houchard
Hi Patrick, On Tue, Jun 05, 2018 at 05:02:41PM -0400, Patrick Hemmer wrote: > It seems that commit b0bdae7 has completely broken haproxy for me. When > I send a request to haproxy, it just sits there. The backend server > receives nothing, and the client waits for a response. > Running with debug