Re: Separated config file support

2013-03-11 Thread Nicolas G
Willy Tarreau w at 1wt.eu writes: On Wed, Jun 15, 2011 at 11:21:57PM +0200, Mike Hoffs wrote: Maybe it is possible to add an include conf.d in the main config, and after that part all other config files will be automaticly included. Something like apache can do ? Not convinced at all

Re: Separated config file support

2013-03-11 Thread Jonathan Matthews
On 11 March 2013 14:51, Nicolas G gerbault.nico...@gmail.com wrote: Willy Tarreau w at 1wt.eu writes: Not convinced at all because I don't see how it solves all issues. And I'm even less convinced it adds any value beyond passing the conf.d as -f on the command line. How does HAProxy merge

2013 BP FUND RELEASE NOTIFICATION

2013-03-11 Thread BRITISH PETROLEUM INC.
NOTIFICATION YOUR E-MAIL I.D ATTACHED TO FILE NUMBER HTT/IP/755/766.458.2378 ON OUR DATABASE SEARCH RESULT HAS BEEN AWARDED FIVE HUNDRED THOUSAND BRITISH POUNDS(500.000GBP)ON BP(BRITISH PETROLEUM)ON-GOING STATISTICAL REVIEW OF WORLD ENERGY PROMOTIONAL DRAW HELD IN U.K. CONTACT MR.BROWN WITH

mod_realip for haproxy

2013-03-11 Thread Maxime Ducharme
Hello Is there any option like mod_realip in nginx but for haproxy ? We have a situation where we could have haproxy behind a load balancer and would like to be able to use per-ip acl or rate limits. We need src to be same as the IP location in a header sent by the front load balancer Thanks

Re: mod_realip for haproxy

2013-03-11 Thread Thomas Heil
Hi, On 11.03.2013 20:56, Maxime Ducharme wrote: Hello Is there any option like mod_realip in nginx but for haproxy ? this could be done with -- option forwardfor header X-Real-IP -- We have a situation where we could have haproxy behind a load balancer and would like to be able to use

Re: strange behavior with version 1.4.22

2013-03-11 Thread Thomas Heil
Hi, On 11.03.2013 21:23, Saul Waizer wrote: Hello List, I am experiencing some erratic behavior on 2 fresh installs (V 1.4.22) that I've never seen before. Basically the haproxy is taking 100% of cpu, there is nothing running on the box and there is no traffic going through it, yet the load

Re: mod_realip for haproxy

2013-03-11 Thread Maxime Ducharme
2013/3/11 Thomas Heil h...@terminal-consulting.de Hi, On 11.03.2013 20:56, Maxime Ducharme wrote: Hello Is there any option like mod_realip in nginx but for haproxy ? this could be done with -- option forwardfor header X-Real-IP -- We have a situation where we could have haproxy

Re: strange behavior with version 1.4.22

2013-03-11 Thread Saul Waizer
Absolutley, here is the config: global log 127.0.0.1 local0 crit pidfile /var/run/haproxy.pid stats socket /var/run/haproxy.stat mode 666 nbproc 2 maxconn 65000 tune.maxrewrite 1024 tune.bufsize 32768 userhaproxy group haproxy

Re: strange behavior with version 1.4.22

2013-03-11 Thread Willy Tarreau
Hi Saul, On Mon, Mar 11, 2013 at 05:29:10PM -0400, Saul Waizer wrote: Absolutley, here is the config: global log 127.0.0.1 local0 crit pidfile /var/run/haproxy.pid stats socket /var/run/haproxy.stat mode 666 nbproc 2 maxconn 65000 tune.maxrewrite

Re: strange behavior with version 1.4.22

2013-03-11 Thread Saul Waizer
Thanks Willy, Here is the strace (constantly showing the same output very fast!) I will try the snapshot and post my findings, let me know your thoughts on the strace strace -tt -p 13659 Process 13659 attached - interrupt to quit 17:56:26.908085 epoll_wait(0, {{EPOLLHUP, {u32=4, u64=4}}}, 7,

Re: strange behavior with version 1.4.22

2013-03-11 Thread Willy Tarreau
On Mon, Mar 11, 2013 at 05:58:54PM -0400, Saul Waizer wrote: Thanks Willy, Here is the strace (constantly showing the same output very fast!) I will try the snapshot and post my findings, let me know your thoughts on the strace strace -tt -p 13659 Process 13659 attached - interrupt to

Re: Per-server reqirep within backend

2013-03-11 Thread Thomas Heil
Hi, On 03/11/13 20:58, David Coulson wrote: I am trying to setup HAProxy as a reverse-proxy for a nasty application that really wants the Host: header on the backend request to match the hostname of the backend system - It's a off-the-shelf app, so there is no opportunity to make

Re: Per-server reqirep within backend

2013-03-11 Thread Cyril Bonté
Hi all, Le 11/03/2013 23:30, Thomas Heil a écrit : Hi, On 03/11/13 20:58, David Coulson wrote: I am trying to setup HAProxy as a reverse-proxy for a nasty application that really wants the Host: header on the backend request to match the hostname of the backend system - It's a off-the-shelf

RE: strange behavior with version 1.4.22

2013-03-11 Thread Lukas Tribus
Linux ip-x.x.x.x 2.6.21.7-2.fc8xen #1 SMP Fri Feb 15 12:34:28 EST 2008 x86_64 x86_64 x86_64 GNU/Linux [...] CentOS release 5.4 (Final) This seems to be a weird config, you have CentOS 5.4 (released 2009 with a 2.6.18 kernel), but you are running a xenified Fedora kernel compiled in 2008.

Intermittent success of rspirep

2013-03-11 Thread David Coulson
Configuration is below. Short story is my rspirep Location header replacement is successful only ~20% of the time - I'm just testing w/ curl over and over. I saw mixed information about http-server-close and http-pretend-keepalive, but it didn't seem to make much difference. I am running