glibc double free or corruption with 1.5-dev20

2013-12-16 Thread Sander Klein
Hi, I've compiled 1.5-dev20 on debian wheezy and now I get a double free or corruption bug. Haproxy will not start. *** glibc detected *** /usr/sbin/haproxy: double free or corruption (fasttop): 0x03c5a880 *** === Backtrace: =

Re: glibc double free or corruption with 1.5-dev20

2013-12-16 Thread Willy Tarreau
Hi Sander, On Mon, Dec 16, 2013 at 09:43:07AM +0100, Sander Klein wrote: Hi, I've compiled 1.5-dev20 on debian wheezy and now I get a double free or corruption bug. Haproxy will not start. Interesting, I never experienced this one. Could you please run it through gdb and issue bt full ?

About OS memory control in haproxy

2013-12-16 Thread 陈虎
Dear friend! I’m sorry to bother you with one question: when I was reading the configuration manual of haproxy 1.5;I could not found some parameter to explicit control the total OS memory usage in haproxy; for example , when I install Oracle Database ,I can set the oracle database just use

Re: glibc double free or corruption with 1.5-dev20

2013-12-16 Thread Sander Klein
On , Willy Tarreau wrote: Hi Sander, On Mon, Dec 16, 2013 at 09:43:07AM +0100, Sander Klein wrote: Hi, I've compiled 1.5-dev20 on debian wheezy and now I get a double free or corruption bug. Haproxy will not start. Interesting, I never experienced this one. Could you please run it

Re: glibc double free or corruption with 1.5-dev20

2013-12-16 Thread Willy Tarreau
On Mon, Dec 16, 2013 at 10:19:42AM +0100, Sander Klein wrote: On , Willy Tarreau wrote: Hi Sander, On Mon, Dec 16, 2013 at 09:43:07AM +0100, Sander Klein wrote: Hi, I've compiled 1.5-dev20 on debian wheezy and now I get a double free or corruption bug. Haproxy will not start.

Re: glibc double free or corruption with 1.5-dev20

2013-12-16 Thread Willy Tarreau
OK here's the fix, it was not a big deal, just a missing NULL after a free when loading patterns from a file. Thank you for your quick help Sander! Willy From 6762a3061ac0d1d8c8860a2191c602a3c526205c Mon Sep 17 00:00:00 2001 From: Willy Tarreau w...@1wt.eu Date: Mon, 16 Dec 2013 10:40:28 +0100

Re: [ANNOUNCE] haproxy-1.5-dev20

2013-12-16 Thread Arnall
Great news Willy, thanks a lot for all of this, and thanks to all the contributors ! Le 16/12/2013 03:41, Willy Tarreau a écrit : Hi all, here is probably the largest update we ever had, it's composed of 345 patches! Some very difficult changes had to be made and as usual when such changes

Re: [ANNOUNCE] haproxy-1.5-dev20

2013-12-16 Thread Baptiste
Just enabled option http-keep-alive on my personal websites to enable HTTP keepalives from client to servers :) Baptiste On Mon, Dec 16, 2013 at 10:50 AM, Arnall arnall2...@gmail.com wrote: Great news Willy, thanks a lot for all of this, and thanks to all the contributors ! Le 16/12/2013

Re: [ANNOUNCE] haproxy-1.5-dev20

2013-12-16 Thread Federico Iezzi
Awesome Willy! Il giorno 16/dic/2013, alle ore 03:41, Willy Tarreau w...@1wt.eu ha scritto: Hi all, here is probably the largest update we ever had, it's composed of 345 patches! Some very difficult changes had to be made and as usual when such changes happen, they take a lot of time due

Re: [ANNOUNCE] haproxy-1.5-dev20

2013-12-16 Thread Willy Tarreau
On Mon, Dec 16, 2013 at 11:02:52AM +0100, Baptiste wrote: Just enabled option http-keep-alive on my personal websites to enable HTTP keepalives from client to servers :) I did it as well, but just to catch bugs, since it's totally useless :-) Willy

Re: About OS memory control in haproxy

2013-12-16 Thread Willy Tarreau
Hi, On Mon, Dec 16, 2013 at 05:12:50PM +0800, wrote: Dear friend! I??m sorry to bother you with one question: when I was reading the configuration manual of haproxy 1.5;I could not found some parameter to explicit control the total OS memory usage in haproxy; for example , when

Re: glibc double free or corruption with 1.5-dev20

2013-12-16 Thread Sander Klein
On , Willy Tarreau wrote: OK here's the fix, it was not a big deal, just a missing NULL after a free when loading patterns from a file. Thank you for your quick help Sander! Something is fishy. I've compiled a new version with your patch, haproxy starts but it 'just doesn't work (tm)'. I

Re: glibc double free or corruption with 1.5-dev20

2013-12-16 Thread Sander Klein
On , Sander Klein wrote: On , Willy Tarreau wrote: OK here's the fix, it was not a big deal, just a missing NULL after a free when loading patterns from a file. Thank you for your quick help Sander! Something is fishy. I've compiled a new version with your patch, haproxy starts but it 'just

Re: glibc double free or corruption with 1.5-dev20

2013-12-16 Thread Willy Tarreau
On Mon, Dec 16, 2013 at 01:10:11PM +0100, Sander Klein wrote: On , Willy Tarreau wrote: OK here's the fix, it was not a big deal, just a missing NULL after a free when loading patterns from a file. Thank you for your quick help Sander! Something is fishy. I've compiled a new version with

Re: glibc double free or corruption with 1.5-dev20

2013-12-16 Thread Sander Klein
On , Willy Tarreau wrote: On Mon, Dec 16, 2013 at 01:10:11PM +0100, Sander Klein wrote: On , Willy Tarreau wrote: OK here's the fix, it was not a big deal, just a missing NULL after a free when loading patterns from a file. Thank you for your quick help Sander! Something is fishy. I've

Re: glibc double free or corruption with 1.5-dev20

2013-12-16 Thread Willy Tarreau
On Mon, Dec 16, 2013 at 02:19:28PM +0100, Sander Klein wrote: On , Willy Tarreau wrote: On Mon, Dec 16, 2013 at 01:10:11PM +0100, Sander Klein wrote: On , Willy Tarreau wrote: OK here's the fix, it was not a big deal, just a missing NULL after a free when loading patterns from a file. Thank

Re: glibc double free or corruption with 1.5-dev20

2013-12-16 Thread Sander Klein
On , Willy Tarreau wrote: On Mon, Dec 16, 2013 at 02:19:28PM +0100, Sander Klein wrote: On , Willy Tarreau wrote: On Mon, Dec 16, 2013 at 01:10:11PM +0100, Sander Klein wrote: On , Willy Tarreau wrote: OK here's the fix, it was not a big deal, just a missing NULL after a free when loading

Re: glibc double free or corruption with 1.5-dev20

2013-12-16 Thread Willy Tarreau
On Mon, Dec 16, 2013 at 04:46:55PM +0100, Sander Klein wrote: H, dev20 does a slowstart when haproxy starts. Dev19 (and before) doesn't do that. It even does a slowstart when I reload the config file. That doesn't seem right to me. But you're perfectly right! I introduced this

Re: [ANNOUNCE] haproxy-1.5-dev20

2013-12-16 Thread Igor
acl adb url_reg,lower -f /etc/haproxy/long.lst Did I use this in a wrong way? Bests, -Igor On Mon, Dec 16, 2013 at 10:41 AM, Willy Tarreau w...@1wt.eu wrote: Hi all, here is probably the largest update we ever had, it's composed of 345 patches! Some very difficult changes had to be made

Re: [ANNOUNCE] haproxy-1.5-dev20

2013-12-16 Thread Willy Tarreau
On Tue, Dec 17, 2013 at 04:28:18AM +0800, Igor wrote: acl adb url_reg,lower -f /etc/haproxy/long.lst Interesting, indeed it returns : [ALERT] 349/215409 (2334) : parsing [test.cfg:9] : error detected while parsing ACL 'adb' : unknown fetch method 'url_reg' in ACL expression 'url_reg,lower'.

Re: [ANNOUNCE] haproxy-1.5-dev20

2013-12-16 Thread Cyril Bonté
Le 16/12/2013 11:17, Willy Tarreau a écrit : On Mon, Dec 16, 2013 at 11:02:52AM +0100, Baptiste wrote: Just enabled option http-keep-alive on my personal websites to enable HTTP keepalives from client to servers :) I did it as well, but just to catch bugs, since it's totally useless :-)

Re: [ANNOUNCE] haproxy-1.5-dev20

2013-12-16 Thread Willy Tarreau
On Mon, Dec 16, 2013 at 10:37:20PM +0100, Cyril Bonté wrote: Le 16/12/2013 11:17, Willy Tarreau a écrit : On Mon, Dec 16, 2013 at 11:02:52AM +0100, Baptiste wrote: Just enabled option http-keep-alive on my personal websites to enable HTTP keepalives from client to servers :) I did it as

RE: [ANNOUNCE] haproxy-1.5-dev20

2013-12-16 Thread Lukas Tribus
Hi Willy and everyone, Subject: [ANNOUNCE] haproxy-1.5-dev20 Hi all, here is probably the largest update we ever had, it's composed of 345 patches! Wow, thats one hell of a -dev release, nice work :) - keep-alive: the dynamic allocation of the connection and applet in the session now

Re: [ANNOUNCE] haproxy-1.5-dev20

2013-12-16 Thread Willy Tarreau
On Mon, Dec 16, 2013 at 10:46:39PM +0100, Willy Tarreau wrote: For now, the only thing I've noticed is that when haproxy uses a keep-alive timeout greater than the one on the backend, the connection will stay in CLOSE_WAIT state until the haproxy timeout expires. I'm not surprized,

Re: [ANNOUNCE] haproxy-1.5-dev20

2013-12-16 Thread Cyril Bonté
Le 17/12/2013 00:08, Willy Tarreau a écrit : On Mon, Dec 16, 2013 at 10:46:39PM +0100, Willy Tarreau wrote: For now, the only thing I've noticed is that when haproxy uses a keep-alive timeout greater than the one on the backend, the connection will stay in CLOSE_WAIT state until the haproxy

Re: [ANNOUNCE] haproxy-1.5-dev20

2013-12-16 Thread Willy Tarreau
On Tue, Dec 17, 2013 at 12:19:18AM +0100, Cyril Bonté wrote: Le 17/12/2013 00:08, Willy Tarreau a écrit : On Mon, Dec 16, 2013 at 10:46:39PM +0100, Willy Tarreau wrote: For now, the only thing I've noticed is that when haproxy uses a keep-alive timeout greater than the one on the backend, the

Re: [ANNOUNCE] haproxy-1.5-dev20

2013-12-16 Thread Willy Tarreau
Hi Lukas, On Mon, Dec 16, 2013 at 11:52:27PM +0100, Lukas Tribus wrote: Hi Willy and everyone, Subject: [ANNOUNCE] haproxy-1.5-dev20 Hi all, here is probably the largest update we ever had, it's composed of 345 patches! Wow, thats one hell of a -dev release, nice work :) yes,

[ANNOUNCE] haproxy-1.5-dev21

2013-12-16 Thread Willy Tarreau
Hi all, I've released 1.5-dev21 which fixes all the issue reported on dev20 : - MINOR: stats: don't use a monospace font to report numbers - MINOR: session: remove debugging code - BUG/MAJOR: patterns: fix double free caused by loading strings from files - MEDIUM: http: make

Re: Improving behaviour when nbproc 1

2013-12-16 Thread Chris Burroughs
On 12/04/2013 11:24 AM, Chris Burroughs wrote: On 12/03/2013 04:07 PM, Chris Burroughs wrote: This could just be me not being adept at email patches. Sorry if this is obvious but is this supposed to apply against 1.4 or 1.5? To answer my own question this applies against 1.5. I'm not sure

Re: [ANNOUNCE] haproxy-1.5-dev20

2013-12-16 Thread Chris Burroughs
On 12/15/2013 09:41 PM, Willy Tarreau wrote: - several hash algorithms are provided, and it is possible to select them per backend. This high quality work was done at Tumblr by Bhaskar Maddala. This is an interesting development. How do the included functions compare to the currenlty

Re: [ANNOUNCE] haproxy-1.5-dev20

2013-12-16 Thread Willy Tarreau
On Mon, Dec 16, 2013 at 07:38:55PM -0500, Chris Burroughs wrote: On 12/15/2013 09:41 PM, Willy Tarreau wrote: - several hash algorithms are provided, and it is possible to select them per backend. This high quality work was done at Tumblr by Bhaskar Maddala. This is an

Re: Improving behaviour when nbproc 1

2013-12-16 Thread Willy Tarreau
On Mon, Dec 16, 2013 at 07:32:24PM -0500, Chris Burroughs wrote: On 12/04/2013 11:24 AM, Chris Burroughs wrote: On 12/03/2013 04:07 PM, Chris Burroughs wrote: This could just be me not being adept at email patches. Sorry if this is obvious but is this supposed to apply against 1.4 or 1.5?

Re: [ANNOUNCE] haproxy-1.5-dev21

2013-12-16 Thread Godbach
On 2013/12/17 7:49, Willy Tarreau wrote: Hi all, I've released 1.5-dev21 which fixes all the issue reported on dev20 : - MINOR: stats: don't use a monospace font to report numbers - MINOR: session: remove debugging code - BUG/MAJOR: patterns: fix double free caused by loading