Re: make haproxy notice that backend server ip has changed

2013-11-23 Thread Pawel Veselov
Hi Willy, On Sat, Nov 23, 2013 at 1:38 AM, Willy Tarreau wrote: > Hi Pawel, > On Fri, Nov 22, 2013 at 07:54:18PM -0800, Pawel Veselov wrote: > > Hi. > > > > There has been a heated discussion on this about 2 years back, so sorry > for > > reopening any wounds. Also sorry for long winded intro. >

Re: url_beg not working

2013-11-23 Thread Steven Le Roux
Hi You should use hdr_dom(host) to match it. url_beg match the prefix from a request. Regards -- Steven Le Roux Le 23 nov. 2013 21:02, "Francois Stark" a écrit : > I am trying to send http for http://adserver.example.com to go to backend > bk_http_ads. I used port 81 before, and this still wo

Самый Высокоэффективный путь обеспечить гражданке удовлетворение

2013-11-23 Thread mascolltort
Наиболее Высокоэффективный рецепт причинить мадам блаженство http://goo.gl/4pHji4

url_beg not working

2013-11-23 Thread Francois Stark
I am trying to send http for http://adserver.example.com to go to backend bk_http_ads. I used port 81 before, and this still works (backend defined etc), but some cellphone providers won't allow port 81 on blackberries. frontend ft_http bind xxx.xxx.xxx.xxx:80 mode http

Re: need an information on urgent basis.....

2013-11-23 Thread sushant dangare
Hi, Thank you very much.. On Nov 19, 2013 9:55 PM, "Baptiste" wrote: > Hi, > > Please contact Exceliance, which delivers HAProxy Profesional Services. > http://www.exceliance.fr/en/haproxy-professional-services > > Also provide as much information as you can on your setup :) > > Baptiste > >

Re: make haproxy notice that backend server ip has changed

2013-11-23 Thread Steven Le Roux
Going further on this, it would be amazing to have the hability to plug haproxy with zookeeper for service discovering and health checks. Since zk use an application aware heartbeat, it maintains a connection to perform health checks. If a service is noticed as down, the ephemeral "znode" will be

Re: %usr/sys & nbproc

2013-11-23 Thread Vincent Bernat
❦ 23 novembre 2013 10:47 CET, Willy Tarreau  : >> > However you must absolutely figure what core shares L2 with what other >> > core. I suspect you'll have core 0 + core 3, core 1 + core 4, core 2 + >> > core 5. But that's only a guess. >> >> I don't know if this is reliable, but you can have th

Re: Three patches to the haproxy-systemd-wrapper

2013-11-23 Thread Willy Tarreau
Hi Mark-Antoine, On Sat, Nov 23, 2013 at 07:37:21PM +0900, Marc-Antoine Perennou wrote: > I don't have access to a computer to actually test those, but: > - the first one looks nice, never felt really confident hard coding SBINDIR > and the solution makes sense > - nice catch for the second one, d

Re: make haproxy notice that backend server ip has changed

2013-11-23 Thread Eugene Istomin
Willy, such a great idea! We can help in testing. -- */Best regards,/* /Eugene Istomin/ > Hi Pawel, > > On Fri, Nov 22, 2013 at 07:54:18PM -0800, Pawel Veselov wrote: > > Hi. > > > > There has been a heated discussion on this about 2 years back, so sorry > > for > > reopening any wounds. Al

Re: Three patches to the haproxy-systemd-wrapper

2013-11-23 Thread Marc-Antoine Perennou
Hello, On Saturday, November 23, 2013, Willy Tarreau wrote: > Hello Kristoffer, > > On Fri, Nov 22, 2013 at 11:21:21AM +0100, Kristoffer Grönlund wrote: > > Hello, > > > > I have packaged haproxy 1.4.24 for openSUSE 13.1 [1], which uses systemd > > as the init system. At first I tried using a ser

Re: %usr/sys & nbproc

2013-11-23 Thread Willy Tarreau
On Sat, Nov 23, 2013 at 10:41:27AM +0100, Vincent Bernat wrote: > ??? 23 novembre 2013 10:13 CET, Willy Tarreau  : > > > However you must absolutely figure what core shares L2 with what other > > core. I suspect you'll have core 0 + core 3, core 1 + core 4, core 2 + > > core 5. But that's only a

Re: %usr/sys & nbproc

2013-11-23 Thread Vincent Bernat
❦ 23 novembre 2013 10:13 CET, Willy Tarreau  : > However you must absolutely figure what core shares L2 with what other > core. I suspect you'll have core 0 + core 3, core 1 + core 4, core 2 + > core 5. But that's only a guess. I don't know if this is reliable, but you can have this information

Re: RES: RES: RES: RES: RES: RES: RES: RES: RES: High CPU Usage (HaProxy)

2013-11-23 Thread Willy Tarreau
On Sat, Nov 23, 2013 at 07:26:25AM -0200, Fred Pedrisa wrote: > > OK. The last point could slightly help in reducing the number of calls to > kqueue and aggregate more events at once. But FreeBSD's kqueue is really > fast so that should not change much. You really need to be able to pin the > proce

Re: make haproxy notice that backend server ip has changed

2013-11-23 Thread Willy Tarreau
Hi Pawel, On Fri, Nov 22, 2013 at 07:54:18PM -0800, Pawel Veselov wrote: > Hi. > > There has been a heated discussion on this about 2 years back, so sorry for > reopening any wounds. Also sorry for long winded intro. > > My understanding is that neither 1.4 nor 1.5 are planned to have any > supp

RES: RES: RES: RES: RES: RES: RES: RES: RES: High CPU Usage (HaProxy)

2013-11-23 Thread Fred Pedrisa
> OK. The last point could slightly help in reducing the number of calls to kqueue and aggregate more events at once. But FreeBSD's kqueue is really fast so that should not change much. You really need to be able to pin the processes to certain CPUs, as well as the interrupts. Unfortunately I canno

Re: %usr/sys & nbproc

2013-11-23 Thread Willy Tarreau
Hi Chris, On Fri, Nov 22, 2013 at 06:40:50PM -0500, Chris Burroughs wrote: > I am currently trying to migrate a somewhat over-complicated and > over-provisioned setup to something simpler and more efficient. The > application servers lots of small HTTP requests (often 204 or 3xx), and > gets r

Re: typo: nosepoll self reference in config guide

2013-11-23 Thread Willy Tarreau
applied to 1.4, thanks Chris! Willy

Re: Three patches to the haproxy-systemd-wrapper

2013-11-23 Thread Willy Tarreau
Hello Kristoffer, On Fri, Nov 22, 2013 at 11:21:21AM +0100, Kristoffer Grönlund wrote: > Hello, > > I have packaged haproxy 1.4.24 for openSUSE 13.1 [1], which uses systemd > as the init system. At first I tried using a service script originally > written for Fedora, but this script didn't handle

Re: RES: RES: RES: RES: RES: RES: RES: RES: High CPU Usage (HaProxy)

2013-11-23 Thread Willy Tarreau
On Sat, Nov 23, 2013 at 12:31:40AM -0200, Fred Pedrisa wrote: > Hey, Willy. > > I've switch to haproxy 1.5 (last one available on the website), but the > results didn't change much. > > However, I didn't try to run all the proxies in just one single process, to > check the difference yet. OK. Th

Re: unknown fetch method 'url_param(

2013-11-23 Thread Willy Tarreau
Hello Nathan, On Sat, Nov 23, 2013 at 11:01:38AM +1100, Nathan Reilly wrote: > Hello Group, > > I am trying to stick requests based on a post URL parameter, like this: > ?method=getPreferenceRecommendation&clientType=99&contentSourceId=2&subscriberId=-0&numRecommendations=1&applyMarketing