Re: Old instances continue to accept connections after graceful reload

2016-02-05 Thread Bryan Talbot
On Fri, Feb 5, 2016 at 7:07 PM, Bryan Talbot wrote: > I think you're just attempting to reload haproxy too fast. There are race > conditions in getting the list of running pids and passing them into > haproxy -- that list changes before the next proxy is started. > After further investigation, I

Re: Old instances continue to accept connections after graceful reload

2016-02-05 Thread Bryan Talbot
I think you're just attempting to reload haproxy too fast. There are race conditions in getting the list of running pids and passing them into haproxy -- that list changes before the next proxy is started. Your test case is reloading haproxy about 10 times per second. There are several reports on

Re: Old instances continue to accept connections after graceful reload

2016-02-05 Thread Maciej Katafiasz
I will try with explicit -reap, but we have actually investigated that as one possible cause, and consul-template reports automatically engaging reap mode as it sees itself as PID 1, and then reaps the processes that actually exit correctly. The problem is that old haproxy processes continue to run

Re: Old instances continue to accept connections after graceful reload

2016-02-05 Thread Cyril Bonté
Hi, Le 06/02/2016 01:03, Maciej Katafiasz a écrit : On 5 February 2016 at 16:02, Maciej Katafiasz wrote: Link to the tarball: https://purestorage.app.box.com/s/nnzqueais46plzd9xfisnmkeab7j9s0y I will be sending it as an attachment in a separate mail as a followup to this one, in case the mail

Re: Old instances continue to accept connections after graceful reload

2016-02-05 Thread Maciej Katafiasz
On 5 February 2016 at 16:02, Maciej Katafiasz wrote: > Link to the tarball: > https://purestorage.app.box.com/s/nnzqueais46plzd9xfisnmkeab7j9s0y > > I will be sending it as an attachment in a separate mail as a followup > to this one, in case the mailing list software scrubs attachments > and/or c

Old instances continue to accept connections after graceful reload

2016-02-05 Thread Maciej Katafiasz
Hi, we're hitting a big roadblock in getting HAProxy to load balance our apps with transparent reloads. Namely, when the new instance starts up with -sf option, the old instances don't seem to react to SIGUSR1 properly. They continue to hang around indefinitely, and snatch incoming requests from t

Re: haproxy as a login portal

2016-02-05 Thread Baptiste
Le 5 févr. 2016 18:05, "Craig Craig" a écrit : > > Hi, > > I'd like to use haproxy as login portal, has anyone done a configuration like > that? > > I've got some users connecting from dynamic IPs to access a 3rd party content > management system which I don't want to expose globally and would lik

[PATCH] BUG/MINOR: stats: fix missing comma in stats on agent drain

2016-02-05 Thread Raghu Udiyar
The csv stats format breaks when agent changes server state to drain. Tools like hatop, metric or check agents will fail due to this. This should be backported to 1.6. --- src/dumpstats.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dumpstats.c b/src/dumpstats.c index f4

haproxy as a login portal

2016-02-05 Thread Craig Craig
Hi, I'd like to use haproxy as login portal, has anyone done a configuration like that? I've got some users connecting from dynamic IPs to access a 3rd party content management system which I don't want to expose globally and would like to authenticate them not by IP, but by session/actual user b