Re: [PATCH][MINOR] Implement resovle-opts with 2 new options

2018-08-08 Thread Baptiste
Hi Willy, Could you please also backport those patches to 1.8? Actually, 1.8 broke a haproxy's default behavior (when multiple servers shares the same hostname) and that this patch helps fixing. here is the commit: 8e2d9430c0562ed74276d7f58e92706c384c0a36 Note the other patches have not been back

Re: Possible bug: configuration check is not checking resolvers

2018-08-08 Thread Baptiste
On Tue, Aug 7, 2018 at 2:14 PM, Marcos Moreno wrote: > Dear list members, > > I am not sure if this can be filed as a bug, but we are always eager to > contribute, and we had just an issue with a production server and wanted > that more experienced eyes had an opinion: > > While creating a config

100% cpu usage 1.9-dev0-48d92ee 2018/07/30, task.?. but keeps working.. (nbthread 1)

2018-08-08 Thread PiBa-NL
Hi List, Ive got a weird issue.. and im not sure where/how to continue digging at the moment... Using nbthread=1 nbproc=1, a few lua scripts, ssl offloading / http traffic.. Only a few connections < 100... Sometimes haproxy starts using 100% cpu usage.. After a few days.. (Makes it hard to

Re: [PATCH][MINOR] Implement resovle-opts with 2 new options

2018-08-08 Thread Willy Tarreau
Hi Baptiste, On Wed, Aug 08, 2018 at 08:14:31PM +0200, Baptiste wrote: > Hi Willy, > > Could you please also backport those patches to 1.8? > Actually, 1.8 broke a haproxy's default behavior (when multiple servers > shares the same hostname) and that this patch helps fixing. > > here is the comm

Re: [PATCH][MINOR] Implement resovle-opts with 2 new options

2018-08-08 Thread Baptiste
On Wed, Aug 8, 2018 at 11:09 PM, Willy Tarreau wrote: > Hi Baptiste, > > On Wed, Aug 08, 2018 at 08:14:31PM +0200, Baptiste wrote: > > Hi Willy, > > > > Could you please also backport those patches to 1.8? > > Actually, 1.8 broke a haproxy's default behavior (when multiple servers > > shares the

Server State File not loading.

2018-08-08 Thread Dustin Schuemann
I'm using HAproxy 1.8.8 and the server state file won't load. My configuration is as follows [global] server-state-file /etc/haproxy/haproxy.state [defaults] load-server-state-from-file global I've verified that the servers I changed via the socket are in the state file.

Re: Server State File not loading.

2018-08-08 Thread Baptiste
On Thu, Aug 9, 2018 at 3:24 AM, Dustin Schuemann wrote: > I'm using HAproxy 1.8.8 and the server state file won't load. > > My configuration is as follows > > [global] > server-state-file /etc/haproxy/haproxy.state > [defaults] > load-server-state-from-file global > > I've ver

Ideas For Getting Online Sales For haproxy.com

2018-08-08 Thread Guy Burton
Dear haproxy.com Team, Hope you are doing good. I checked your website haproxy.com and wanted to shoot you a quick note. If you want we can make few changes to make your site convert more visitors into leads and to place it higher in the organic search for some selected terms. If you are not on

Re: Server State File not loading.

2018-08-08 Thread Dustin Schuemann
I don’t believe so. I just have IP addresses in my backend configuration Sent from my iPhone > On Aug 8, 2018, at 8:59 PM, Baptiste wrote: > > > >> On Thu, Aug 9, 2018 at 3:24 AM, Dustin Schuemann >> wrote: >> I'm using HAproxy 1.8.8 and the server state file won't load. >> >> My config

Re: Server State File not loading.

2018-08-08 Thread Baptiste
So I don't expect this is a bug On Thu, Aug 9, 2018 at 4:16 AM, Dustin Schuemann wrote: > I don’t believe so. > > I just have IP addresses in my backend configuration > > > So I don't expect this is a bug. Might be a misconfiguration somwhere. What does HAProxy says when you run it in debug mode

Re: Server State File not loading.

2018-08-08 Thread Dustin Schuemann
Running in debug mode doesn't show much. /usr/sbin/haproxy -Ws -f /etc/haproxy/haproxy.cfg -p /run/haproxy.pid -V [WARNING] 220/031353 (21386) : stats socket will not work as expected in multi-process mode (nbproc > 1), you should force process binding globally using 'stats bind-process' or per so

Re: Server State File not loading.

2018-08-08 Thread Baptiste
That's because you may be in master-worker mode. Please remove the '-Ws' and the master-worker keyword from your config file. Also, could you please send the content of the state file? (you can send it to me only if there is sensitive data inside) On Thu, Aug 9, 2018 at 5:15 AM, Dustin Schuemann

Re: [PATCH][MINOR] Implement resovle-opts with 2 new options

2018-08-08 Thread Willy Tarreau
On Wed, Aug 08, 2018 at 11:42:48PM +0200, Baptiste wrote: > Until HAProxy 1.7, the DNS resolver was able to allocate the same IP > address to all (or a portion of) servers sharing the same hostname and > being in the same backend. > This behavior annoyed the people who wants to scale based on DNS r