Re: set weight bug?

2013-11-27 Thread Simon Horman
On Wed, Nov 27, 2013 at 05:09:47PM +0100, Willy Tarreau wrote: > On Wed, Nov 27, 2013 at 10:41:12PM +0800, Igor wrote: > > It's almost the same except some servers with weight=0 in conf, script > > to disable/enable servers works fine with haproxy-ss-20131031, but > > with haproxy-ss-20131122 or n

Re: set weight bug?

2013-11-27 Thread Willy Tarreau
On Wed, Nov 27, 2013 at 10:41:12PM +0800, Igor wrote: > It's almost the same except some servers with weight=0 in conf, script > to disable/enable servers works fine with haproxy-ss-20131031, but > with haproxy-ss-20131122 or newer, it will crash haproxy after > several disable/enable commands via

Re: set weight bug?

2013-11-27 Thread Igor
It's almost the same except some servers with weight=0 in conf, script to disable/enable servers works fine with haproxy-ss-20131031, but with haproxy-ss-20131122 or newer, it will crash haproxy after several disable/enable commands via socket. I can mail you the conf if need. Bests, -Igor On W

Re: set weight bug?

2013-11-27 Thread Willy Tarreau
On Wed, Nov 27, 2013 at 10:41:12PM +0800, Igor wrote: > It's almost the same except some servers with weight=0 in conf, script > to disable/enable servers works fine with haproxy-ss-20131031, but > with haproxy-ss-20131122 or newer, it will crash haproxy after > several disable/enable commands via

Re: set weight bug?

2013-11-27 Thread Willy Tarreau
Hi Igor, On Wed, Nov 27, 2013 at 08:46:38PM +0800, Igor wrote: > Hi, Willy, after upgraded to haproxy-ss-20131122, enable and disable > servers via socket will crash haproxy, there's no this issue in > haproxy-ss-20131031. I don't understand, I cannot reproduce this with your config, at least the

Re: set weight bug?

2013-11-27 Thread Igor
Hi, Willy, after upgraded to haproxy-ss-20131122, enable and disable servers via socket will crash haproxy, there's no this issue in haproxy-ss-20131031. Bests, -Igor On Thu, Nov 21, 2013 at 10:42 PM, Willy Tarreau wrote: > Hi Igor, > > On Thu, Nov 21, 2013 at 09:03:05PM +0800, Igor wrote: >> T

Re: set weight bug?

2013-11-21 Thread Igor
Thanks Willy, because I use snapshot haproxy in production, so I have no change to do more investigation, glad you could reproduce the bug :) Bests, -Igor On Thu, Nov 21, 2013 at 7:06 PM, Willy Tarreau wrote: > On Wed, Nov 06, 2013 at 09:06:30PM +0100, Lukas Tribus wrote: >> Hi! >> >> >> > Her

Re: set weight bug?

2013-11-21 Thread Willy Tarreau
Hi Igor, On Thu, Nov 21, 2013 at 09:03:05PM +0800, Igor wrote: > Thanks Willy, because I use snapshot haproxy in production, so I have > no change to do more investigation, glad you could reproduce the bug > :) now you'll have something a bit more reliable to work with. I've just committed the t

Re: set weight bug?

2013-11-21 Thread Willy Tarreau
On Wed, Nov 06, 2013 at 09:06:30PM +0100, Lukas Tribus wrote: > Hi! > > > > Here is my config http://pastie.org/private/wf0dv30krqpasgmhtdnahw > > (Deleted some servers and two backends for clear config) > > > > I used script to handle servers weight since haproxy-ss-20131031, so I > > never trie

RE: set weight bug?

2013-11-06 Thread Lukas Tribus
Hi! > Here is my config http://pastie.org/private/wf0dv30krqpasgmhtdnahw > (Deleted some servers and two backends for clear config) > > I used script to handle servers weight since haproxy-ss-20131031, so I > never tried previous versions. Sorry, still can't reproduce. For problem 1 (after set

Re: set weight bug?

2013-11-05 Thread Igor
Here is my config http://pastie.org/private/wf0dv30krqpasgmhtdnahw (Deleted some servers and two backends for clear config) I used script to handle servers weight since haproxy-ss-20131031, so I never tried previous versions. Bests, -Igor On Wed, Nov 6, 2013 at 5:55 AM, Lukas Tribus wrote: > H

RE: set weight bug?

2013-11-05 Thread Lukas Tribus
Hi Igor, > Using newest snapshot, when I do > > echo "set weight s1/p1 100"| socat stdio /tmp/haproxy > > to a server already has weight 100, then fresh haproxy's stat page, it > requires password, and it doesn't accept the right password set in > "stats auth" until I reload the haproxy. > > I ha