Re: Problem w/ connection reuse for haproxy backends

2016-07-22 Thread Willy Tarreau
Hi Pavlos, On Fri, Jul 22, 2016 at 12:33:07AM +0200, Pavlos Parissis wrote: > On 21/07/2016 10:30 , Willy Tarreau wrote: > > Hi, > > > > On Thu, Jul 21, 2016 at 02:33:05PM -0400, CJ Ess wrote: > >> I think I'm overlooking something simple, could someone spot check me? > >> > >> What I want to

Re: Double Logging

2016-07-22 Thread Willy Tarreau
Hi Cyrus, On Thu, Jul 21, 2016 at 11:22:06PM -0700, Cyrus Katrak wrote: > Greetings from Slack Technologies, > > We are evaluating HAProxy as a load balancing solution and so far are quite > pleased with it. One feature we require is the ability to log when a > connection started (option logasap)

Unable to compile HAProxy on RHEL7

2016-07-22 Thread Kuldip Madnani
I want to compile HAProxy version 1.6.7 for which i am using the following steps: 1. tar xzvf haproxy-1.6.7.tar.gz 2. make TARGET="generic" USE_STATIC_PCRE=1 USE_OPENSSL=1 USE_LIBCRYPT=1 USE_ZLIB=1 But getting this error: $ make TARGET="generic" USE_STATIC_PCRE=1 USE_OPENSSL=1 USE_LIBCRYPT=1 US

Re: Double Logging

2016-07-22 Thread Cyrus Katrak
Thanks for the guidance and quick response. I do not think what you are proposing is overkill, a generalized solution for logging in N places, with N custom formats seems ideal. Using a tag to identify the source of a log line sounds sufficient. Being able to specify custom log formats using aliase

Re: Unable to compile HAProxy on RHEL7

2016-07-22 Thread Dennis Jacobfeuerborn
On 22.07.2016 17:43, Kuldip Madnani wrote: > I want to compile HAProxy version 1.6.7 for which i am using the following > steps: > > 1. tar xzvf haproxy-1.6.7.tar.gz > 2. make TARGET="generic" USE_STATIC_PCRE=1 USE_OPENSSL=1 USE_LIBCRYPT=1 > USE_ZLIB=1 > > But getting this error: > > $ make TAR

Re: Problem w/ connection reuse for haproxy backends

2016-07-22 Thread CJ Ess
Thanks Willy and Nenand! On Fri, Jul 22, 2016 at 5:44 AM, Willy Tarreau wrote: > Hi Pavlos, > > On Fri, Jul 22, 2016 at 12:33:07AM +0200, Pavlos Parissis wrote: > > On 21/07/2016 10:30 , Willy Tarreau wrote: > > > Hi, > > > > > > On Thu, Jul 21, 2016 at 02:33:05PM -0400, CJ Ess wrote: > > >

Re: tcp-mode session hangs on server restart

2016-07-22 Thread Tim Butler
I sent some strace logs to Willy in private email and meanwhile I've been taking a crash course on haproxy internals. I only have a superficial understanding (or misunderstanding) from my initial look. But perhaps here are some clues to what is happening. The test case fails for me about 80% of

Re: Problem w/ connection reuse for haproxy backends

2016-07-22 Thread Pavlos Parissis
On 22/07/2016 11:44 πμ, Willy Tarreau wrote: > Hi Pavlos, > > On Fri, Jul 22, 2016 at 12:33:07AM +0200, Pavlos Parissis wrote: >> On 21/07/2016 10:30 , Willy Tarreau wrote: >>> Hi, >>> >>> On Thu, Jul 21, 2016 at 02:33:05PM -0400, CJ Ess wrote: I think I'm overlooking something simple, c