Re: Server State File not loading.
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 wrote: > 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 socket using the 'process' attribute. > [WARNING] 220/031353 (21386) : Setting tune.ssl.default-dh-param to 1024 > by default, if your workload permits it you should set it to at least 2048. > Please set a value >= 1024 to make this warning disappear. > [WARNING] 220/031353 (21386) : Proxy 'stats': in multi-process mode, stats > will be limited to process assigned to the current request. > Note: setting global.maxconn to 2000. > Available polling systems : > epoll : pref=300, test result OK >poll : pref=200, test result OK > select : pref=150, test result FAILED > Total: 3 (2 usable), will use epoll. > > Available filters : > [SPOE] spoe > [COMP] compression > [TRACE] trace > Using epoll() as the polling mechanism. > > > > On Wed, Aug 8, 2018 at 9:24 PM Baptiste wrote: > >> 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.
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 socket using the 'process' attribute. [WARNING] 220/031353 (21386) : Setting tune.ssl.default-dh-param to 1024 by default, if your workload permits it you should set it to at least 2048. Please set a value >= 1024 to make this warning disappear. [WARNING] 220/031353 (21386) : Proxy 'stats': in multi-process mode, stats will be limited to process assigned to the current request. Note: setting global.maxconn to 2000. Available polling systems : epoll : pref=300, test result OK poll : pref=200, test result OK select : pref=150, test result FAILED Total: 3 (2 usable), will use epoll. Available filters : [SPOE] spoe [COMP] compression [TRACE] trace Using epoll() as the polling mechanism. On Wed, Aug 8, 2018 at 9:24 PM Baptiste wrote: > 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.
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.
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 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. > > > Hi Dustin, > > Are you using DNS resolution based on SRV records for those servers? > > Baptiste
Re: Server State File not loading.
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 verified that the servers I changed via the socket are in the state > file. > Hi Dustin, Are you using DNS resolution based on SRV records for those servers? Baptiste