Re: [BUG][MINOR] incorrect number of configuration files allowed

2009-12-15 Thread Willy Tarreau
Hi Cyril, On Tue, Dec 15, 2009 at 08:53:02PM +0100, Cyril Bonté wrote: Hi Willy, I have another small request concerning this multiple configuration files parameters : when an error is detected in one of the files, then haproxy displays Error(s) found in configuration file : ... for all

[PATCH 1/4] [BUG] config: fix erroneous check on cookie domain names, again

2009-12-15 Thread Krzysztof Piotr Oledzki
From b05e4be21fc2a1f56fc43cedc0229dd45fb54158 Mon Sep 17 00:00:00 2001 From: Krzysztof Piotr Oledzki o...@ans.pl Date: Tue, 15 Dec 2009 22:45:54 +0100 Subject: [BUG] config: fix erroneous check on cookie domain names, again The previous check was correct: the RFC states that it is required to

[PATCH 2/4] [DOC] some small spell fixes and unifications

2009-12-15 Thread Krzysztof Piotr Oledzki
From aed5ad7e9095d992dddbfbb178a8b52e8c476d84 Mon Sep 17 00:00:00 2001 From: Krzysztof Piotr Oledzki o...@ans.pl Date: Sun, 13 Dec 2009 21:55:50 +0100 Subject: [DOC] some small spell fixes and unifications Traditionnally - Traditionally preceeded - preceded statictics - statistics (...) ---

[PATCH 4/4] [BUG] format '%d' expects type 'int', but argument 5 has type 'long int'

2009-12-15 Thread Krzysztof Piotr Oledzki
From 750cb365d4ea2fa886cdcc71ca2fcde22a08f9b6 Mon Sep 17 00:00:00 2001 From: Krzysztof Piotr Oledzki o...@ans.pl Date: Tue, 15 Dec 2009 22:34:51 +0100 Subject: [BUG] format '%d' expects type 'int', but argument 5 has type 'long int' src/cfgparse.c: In function 'readcfgfile': src/cfgparse.c:4087:

Re: [PATCH] [RFC] Decrease server health based on http responses / events, version 2

2009-12-15 Thread Willy Tarreau
Hi Krzysztof, I forgot to check the list and did not see your mail. On Fri, Dec 11, 2009 at 10:33:56AM +0100, Krzysztof Piotr Oledzki wrote: Changes in this version: - documentation - close race between a started check and health analysis event - don't force fastinter if it is not set -

Re: Perfect sysctl

2009-12-15 Thread Willy Tarreau
Hi Marcus, On Tue, Dec 15, 2009 at 10:53:31AM +0100, Marcus Herou wrote: Hi guys. I would appreciate it a lot if someone could share a sysctl.conf which is known to run smoothly on a HAProxy machine with busy sites behind it. This is a question I regularly hear. very busy sites does not

Re: [PATCH] [RFC] Decrease server health based on http responses / events, version 2

2009-12-15 Thread Krzysztof Olędzki
On 2009-12-15 23:07, Willy Tarreau wrote: Hi Krzysztof, Hi Willy, I forgot to check the list and did not see your mail. On Fri, Dec 11, 2009 at 10:33:56AM +0100, Krzysztof Piotr Oledzki wrote: Changes in this version: - documentation - close race between a started check and health

Re: request prioritization

2009-12-15 Thread Willy Tarreau
Hello, On Tue, Dec 15, 2009 at 10:04:10PM +0100, Jaroslav Gresula wrote: Hello, I use a haproxy queue in front of a server which serves two classes of requests. The two classes - let's call them A and B - can be matched using ACLs. My question is whether it is possible to instruct

Re: [PATCH 1/4] [BUG] config: fix erroneous check on cookie domain names, again

2009-12-15 Thread Krzysztof Olędzki
On 2009-12-15 23:35, Willy Tarreau wrote: Hi Krzysztof, On Tue, Dec 15, 2009 at 10:48:23PM +0100, Krzysztof Piotr Oledzki wrote: From b05e4be21fc2a1f56fc43cedc0229dd45fb54158 Mon Sep 17 00:00:00 2001 From: Krzysztof Piotr Oledzki o...@ans.pl Date: Tue, 15 Dec 2009 22:45:54 +0100 Subject: [BUG]

[PATCH] BUG] config: fix erroneous check on cookie domain names, again

2009-12-15 Thread Krzysztof Piotr Oledzki
From 79b9d25eb78cb217b0a8fe90d33f14061db2a767 Mon Sep 17 00:00:00 2001 From: Krzysztof Piotr Oledzki o...@ans.pl Date: Tue, 15 Dec 2009 23:40:47 +0100 Subject: BUG] config: fix erroneous check on cookie domain names, again The previous check was correct: the RFC states that it is required to have

Re: [PATCH] [RFC] Decrease server health based on http responses / events, version 2

2009-12-15 Thread Willy Tarreau
On Tue, Dec 15, 2009 at 11:29:33PM +0100, Krzysztof Ol?dzki wrote: +error_limit count error-limit please :-) Sure. Would you like a new patch with that change? No, don't waste your time on cosmetics. I've noticed you sent v3 while I was replying, I'll sed on v3. (...) Maybe I'm not very

Friendly URLs?

2009-12-15 Thread Ken Roe
We are trying to make application URLs friendly using rewrite rules. The goal is to eliminate the context path of the web application from the url. Example: The URL http://app.company.com should rewrite to http://backend:8080/app. Is there a way to do this using rewrite rules?

Re: [PATCH] BUG] config: fix erroneous check on cookie domain names, again

2009-12-15 Thread Willy Tarreau
On Tue, Dec 15, 2009 at 11:42:14PM +0100, Krzysztof Piotr Oledzki wrote: From 79b9d25eb78cb217b0a8fe90d33f14061db2a767 Mon Sep 17 00:00:00 2001 From: Krzysztof Piotr Oledzki o...@ans.pl Date: Tue, 15 Dec 2009 23:40:47 +0100 Subject: BUG] config: fix erroneous check on cookie domain names,

Re: Friendly URLs?

2009-12-15 Thread Willy Tarreau
Hi, On Tue, Dec 15, 2009 at 05:47:49PM -0500, Ken Roe wrote: We are trying to make application URLs friendly using rewrite rules. The goal is to eliminate the context path of the web application from the url. Example: The URL http://app.company.com should rewrite to

Re: request prioritization

2009-12-15 Thread Jaroslav Gresula
Willy Tarreau wrote: Hello, On Tue, Dec 15, 2009 at 10:04:10PM +0100, Jaroslav Gresula wrote: Hello, I use a haproxy queue in front of a server which serves two classes of requests. The two classes - let's call them A and B - can be matched using ACLs. My question is whether it is

HAProxy 1.3+ Collectd Plugin

2009-12-15 Thread Ryan Schlesinger
I was given permission today to open source the collectd plugin I wrote for the RightScale environment. This supports reading from the stats socket that haproxy 1.3 provides. It uses the column names from the show stat command for mapping so it should survive format changes in the future.

Re: HAProxy 1.3+ Collectd Plugin

2009-12-15 Thread Willy Tarreau
Hi Ryan, On Tue, Dec 15, 2009 at 03:36:11PM -0800, Ryan Schlesinger wrote: I was given permission today to open source the collectd plugin I wrote for the RightScale environment. This supports reading from the stats socket that haproxy 1.3 provides. It uses the column names from the show