Re: Established connections randomly dropped

2012-10-05 Thread Willy Tarreau
On Fri, Oct 05, 2012 at 05:01:39PM -0700, Jesper Noehr wrote: > >> I realize 1.5-dev12 has SSL support, but this is quite > >> recent, so we're using the stud->haproxy setup still. > > > > I understand :-) There are some brave users anyway who helped us spot > > a number of issues, but we're not fi

Re: Established connections randomly dropped

2012-10-05 Thread Jesper Noehr
On Fri, Oct 5, 2012 at 4:53 PM, Willy Tarreau wrote: > Hi Jesper, > > On Fri, Oct 05, 2012 at 02:14:01PM -0700, Jesper Noehr wrote: >> Willy, >> >> Thanks for your analysis and reply. Greatly appreciated. >> >> I adjusted the "mss" in our bind, attempting values between your >> suggested 1380 and

Re: reducing check requests with same servers in many backends

2012-10-05 Thread Willy Tarreau
Hi Shawn, On Fri, Oct 05, 2012 at 04:10:29PM -0600, Shawn Heisey wrote: > I have a setup doing a lot of URL rewriting. I set up an ACL to match > each string that I want to rewrite. When each one matches, it sends the > request to a backend specific to that rewrite. All of the backends > (ov

Re: Established connections randomly dropped

2012-10-05 Thread Willy Tarreau
Hi Jesper, On Fri, Oct 05, 2012 at 02:14:01PM -0700, Jesper Noehr wrote: > Willy, > > Thanks for your analysis and reply. Greatly appreciated. > > I adjusted the "mss" in our bind, attempting values between your > suggested 1380 and 1460 (got that from elsewhere). Unfortunately, the > problem pe

RE: reducing check requests with same servers in many backends

2012-10-05 Thread Cassidy, Bryan
I don't know of a way to only define the server list once, but in subsequent backends you can use 'track backend_name/sv_name' instead of 'check' to reduce the health check spam. One gotcha I ran into is that if I have 'option httpchk HEAD /my/health/url' in the backend with 'check's I also nee

reducing check requests with same servers in many backends

2012-10-05 Thread Shawn Heisey
I have a setup doing a lot of URL rewriting. I set up an ACL to match each string that I want to rewrite. When each one matches, it sends the request to a backend specific to that rewrite. All of the backends (over a dozen of them) have the same set of servers, each defined with 'check' in t

Re: Any plans for UDP load balancing?

2012-10-05 Thread Baptiste
Hi, As far as I know, it is not in the roadmap. Use LVS for UDP protocols. cheers On Fri, Oct 5, 2012 at 11:11 PM, Justin wrote: > I know I read a message from a year or two ago that you weren't going to > support > UDP load balancing. Any re-considerations? > > It would be nice to load balanc

Re: How to keep counters stat across restarts haproxy?

2012-10-05 Thread Baptiste
Hi, no. cheers On Fri, Oct 5, 2012 at 8:28 PM, Odalinda Morales Rojas wrote: > Hi!! > > I have installed the version 1.4.22 of haproxy, > is it possible to keep the statistics counters by restarting haproxy? > > thanks in advance!! >

Re: Established connections randomly dropped

2012-10-05 Thread Jesper Noehr
Willy, Thanks for your analysis and reply. Greatly appreciated. I adjusted the "mss" in our bind, attempting values between your suggested 1380 and 1460 (got that from elsewhere). Unfortunately, the problem persists. Most of the failures we've seen so far, have not been from browsers, but from G

Re: redirect old domain to new domain except 1x url

2012-10-05 Thread claudiu vasadi
Hi Willy, We have HAProxy 1.4.21 on a 7.2-FreeBSD-i386 (primary firewall). HAProxy passes all requests to 7 apache servers running FreeBSD branch 8. On each of the apache machines, we have "ProxyPass" and "ProxyPassReverse" options in the config, that point to an internal dns where the "newdomain"

Re: How to connect Haproxy from postfix ?

2012-10-05 Thread Willy Tarreau
Hi, On Sat, Sep 15, 2012 at 12:58:05PM +0200, hapr...@serverphorums.com wrote: > ok i have tried it and i got following log on backend postfix server. > /var/log/maillog > > connect from r22.lbsmtp.org[199.83.95.70] > Sep 15 14:44:00 r23 postfix/smtpd[14129]: 988985843C8: > client=r22.lbsmtp.o