Re: Problems with long connect times

2009-10-14 Thread Jonah Horowitz
driver: tg3 version: 3.98 firmware-version: 5721-v3.55a bus-info: :03:00.0 Not running bnx2. Looks like it's not a 65563 limit either, I've been graphing it and it's up to 80k sometimes, but it goes up and down. When it fails, it seems like it's either 3 seconds or 9 seconds. Would tcp

RE: [ANNOUNCE] haproxy 1.4-dev4 and 1.3.21

2009-10-14 Thread John Lauro
Sorry to report, from 1.3.21: Oct 13 23:36:43 haf1a kernel: haproxy[25428]: segfault at 19 ip 0041620f sp 7381ef60 error 4 in haproxy[40+3d000] (I know, kind of old, as we were running 1.3.18 on this box, so not sure which version the problem started) Compiled with: make

Re: [ANNOUNCE] haproxy 1.4-dev4 and 1.3.21

2009-10-14 Thread Krzysztof Olędzki
On 2009-10-14 10:47, John Lauro wrote: Sorry to report, from 1.3.21: Oct 13 23:36:43 haf1a kernel: haproxy[25428]: segfault at 19 ip 0041620f sp 7381ef60 error 4 in haproxy[40+3d000] (I know, kind of old, as we were running 1.3.18 on this box, so not sure which version

Re: [PATCH] [MINOR] Collect provide http response codes received from servers

2009-10-14 Thread Krzysztof Olędzki
On 2009-10-14 06:34, Willy Tarreau wrote: Hi Krzysztof, (responding quickly because I must leave in a few minutes) I like this. However, the 1xx field is useless because that is not a final response, but an intermediate one. Indeed, but I still think it is useful to count that one. If a

RE: [ANNOUNCE] haproxy 1.4-dev4 and 1.3.21

2009-10-14 Thread John Lauro
valgrind ./haproxy -f /etc/lb.cfg ==8149== Memcheck, a memory error detector ==8149== Copyright (C) 2002-2009, and GNU GPL'd, by Julian Seward et al. ==8149== Using Valgrind-3.5.0 and LibVEX; rerun with -h for copyright info ==8149== Command: ./haproxy -f /etc/lb.cfg ==8149== [WARNING] 286/084451

[PATCH] trivial patch for haproxy(1)

2009-10-14 Thread Michael Shuler
Hello, I'm working on helping Arnaud update haproxy in Debian, and one of the package build warnings I received was about hyphen where a minus sign was intended in the man page - details: http://lintian.debian.org/tags/hyphen-used-as-minus-sign.html Patch included in my 1.3.20 Debian package is

Re: [ANNOUNCE] haproxy 1.4-dev4 and 1.3.21

2009-10-14 Thread Krzysztof Olędzki
Hello, On 2009-10-14 15:26, John Lauro wrote: valgrind ./haproxy -f /etc/lb.cfg ==8149== Memcheck, a memory error detector ==8149== Copyright (C) 2002-2009, and GNU GPL'd, by Julian Seward et al. ==8149== Using Valgrind-3.5.0 and LibVEX; rerun with -h for copyright info ==8149== Command:

Re: [PATCH] [MINOR] CSS HTML fun

2009-10-14 Thread Willy Tarreau
On Mon, Oct 12, 2009 at 11:39:54PM +0200, Krzysztof Piotr Oledzki wrote: From 6fc49b084ad0f4513c36418dfac1cf1046af66da Mon Sep 17 00:00:00 2001 From: Krzysztof Piotr Oledzki o...@ans.pl Date: Mon, 12 Oct 2009 23:09:08 +0200 Subject: [MINOR] CSS HTML fun This patch makes stats page about

Re: [PATCH] [MINOR] Collect provide http response codes received from servers

2009-10-14 Thread Willy Tarreau
On Wed, Oct 14, 2009 at 01:38:50PM +0200, Krzysztof Ol?dzki wrote: On 2009-10-14 06:34, Willy Tarreau wrote: Hi Krzysztof, (responding quickly because I must leave in a few minutes) I like this. However, the 1xx field is useless because that is not a final response, but an intermediate

Re: Small patch for the appsession feature

2009-10-14 Thread Willy Tarreau
On Tue, Oct 13, 2009 at 10:41:59PM +0200, Aleksandar Lazic wrote: On Die 13.10.2009 21:34, Cyril Bonté wrote: Le lundi 12 octobre 2009 23:17:43, Aleksandar Lazic a écrit : Yes, you're right, I missed it after several tests on different snapshots. Here comes a second patch to reintroduce

RE: Problems with long connect times

2009-10-14 Thread John Marrett
The only way to detect this is to put a sniffer on both ends and compare sequence numbers. They must match. If not, you have such a nasty thing in the middle that needs to be fixed (for PIX and FWSM, there is an option I don't remember for that). The option is called norandomseq. It can be

Re: [PATCH] [MINOR] Collect provide http response codes received from servers

2009-10-14 Thread Willy Tarreau
On Wed, Oct 14, 2009 at 09:43:48PM +0200, Krzysztof Ol?dzki wrote: Thank you for checking this patch so carefully. Indeed, this title=aa is wrong, the line should be changed to: chunk_printf(msg, other=%lld\, px-counters.p.http.rsp[0]); fine, done and applied. Thanks, Willy

Re: Small patch for the appsession feature

2009-10-14 Thread Aleksandar Lazic
On Mit 14.10.2009 21:40, Willy Tarreau wrote: On Tue, Oct 13, 2009 at 10:41:59PM +0200, Aleksandar Lazic wrote: On Die 13.10.2009 21:34, Cyril Bonté wrote: Le lundi 12 octobre 2009 23:17:43, Aleksandar Lazic a écrit : Yes, you're right, I missed it after several tests on different snapshots.

optimal build options?

2009-10-14 Thread Greg Gard
hi all, i recently started building haproxy and was a bit fuzzy on what the preferred options are for the build. i read the README, but still find myself wondering if i have the best set. here is what i did: first i edited the makefile: PREFIX = /usr/local/haproxy/1.3.20 then ran: make

Re: Small patch for the appsession feature

2009-10-14 Thread Willy Tarreau
On Wed, Oct 14, 2009 at 10:20:04PM +0200, Aleksandar Lazic wrote: On Mit 14.10.2009 21:40, Willy Tarreau wrote: On Tue, Oct 13, 2009 at 10:41:59PM +0200, Aleksandar Lazic wrote: On Die 13.10.2009 21:34, Cyril Bonté wrote: Le lundi 12 octobre 2009 23:17:43, Aleksandar Lazic a écrit : Yes,

[PATCH] [BUG] Fix silly typo: hspr_other - hrsp_other

2009-10-14 Thread Krzysztof Piotr Oledzki
From 9526d9bc3b1cf0cbc65a7bebf76a2407f4723262 Mon Sep 17 00:00:00 2001 From: Krzysztof Piotr Oledzki o...@ans.pl Date: Wed, 14 Oct 2009 22:26:01 +0200 Subject: [BUG] Fix silly typo: hspr_other - hrsp_other s/hspr_other/hrsp_other/ --- src/dumpstats.c |2 +- 1 files changed, 1 insertions(+),

Re: Small patch for the appsession feature

2009-10-14 Thread Cyril Bonté
Le mercredi 14 octobre 2009 22:23:54, Willy Tarreau a écrit : Cyril, care to send an updated patch with the latest changes ? OK ! Do it for either 1.3 or 1.4, I'll do the back/forward port. If you prefer to proceed on both, of course feel free to do so :-) I can do both, this will let you

Re: optimal build options?

2009-10-14 Thread Willy Tarreau
Hi Greg, On Wed, Oct 14, 2009 at 04:21:13PM -0400, Greg Gard wrote: hi all, i recently started building haproxy and was a bit fuzzy on what the preferred options are for the build. i read the README, but still find myself wondering if i have the best set. here is what i did: first i

Re: Small patch for the appsession feature

2009-10-14 Thread Willy Tarreau
On Wed, Oct 14, 2009 at 10:36:49PM +0200, Cyril Bonté wrote: Le mercredi 14 octobre 2009 22:23:54, Willy Tarreau a écrit : Cyril, care to send an updated patch with the latest changes ? OK ! Do it for either 1.3 or 1.4, I'll do the back/forward port. If you prefer to proceed on both,

Re: Small patch for the appsession feature

2009-10-14 Thread Cyril Bonté
Le mercredi 14 octobre 2009 22:39:39, Willy Tarreau a écrit : Do it for either 1.3 or 1.4, I'll do the back/forward port. If you prefer to proceed on both, of course feel free to do so :-) I can do both, this will let you work on something else ;) Nice, I appreciate it. OK, here

Re: optimal build options?

2009-10-14 Thread Greg Gard
right aleks, that is why i ended up editing the makefile as prefix as an option on make didn't do what i expected. i wasn't sure what destdir did. my two cents are that prefix should work as it does in most ./configure setups and put all files under prefix/ root. i build most of my stack as