Re: RES: Help with posting to HAProxy List

2013-10-28 Thread Willy Tarreau
On Mon, Oct 28, 2013 at 06:50:14AM +0100, Willy Tarreau wrote: Hi guys, On Mon, Oct 21, 2013 at 10:02:02PM -0200, Fred Pedrisa wrote: Hello, Robert. After you are signed up, all you need to do is send a regular mail to this address : haproxy@formilux.org The diffusion of the

Re: handling hundreds of reqrep statements

2013-10-28 Thread Willy Tarreau
Hi Patrick, On Wed, Oct 23, 2013 at 02:15:50AM -0400, Patrick Hemmer wrote: It seems that when the request first comes in, haproxy allocates a buffer for every header. If the header is X-Foo: bar it allocates a 10 character buffer. When you do `reqrep` on the request line, and add a line at

Re: haproxy dumps core

2013-10-28 Thread Willy Tarreau
Hi Cyril, On Wed, Oct 23, 2013 at 11:26:24PM +0200, Cyril Bonté wrote: Hi Rainer, Le 23/10/2013 23:14, Rainer Duffner a écrit : Am 30.07.2013 um 21:40 schrieb Lukas Tribus luky...@hotmail.com: Hi Rainer! I'm using haproxy on FreeBSD 9.1-amd64 inside a VMware VM. I realized that

Re: Need some pointers on stick tables and multiple servers

2013-10-28 Thread Willy Tarreau
On Sat, Oct 26, 2013 at 12:28:40PM -0500, Kevin wrote: So I?m trying to figure out how to get stickiness based on the url path. My urls have the form server.com/32charSessionID/someOtherStuff I?ve been trying to come up with a stick rule to use the 32 character session id from the

Re: Haproxy rate limit per matching request

2013-10-28 Thread Willy Tarreau
Hi Cyril, On Fri, Oct 25, 2013 at 12:05:44AM +0200, Cyril Bonté wrote: Hi all, Le 24/10/2013 00:36, Przemys?aw Hejman a écrit : Hi, This does not seem to be working - I've also examined the table with socat - It doesn't catch anything. Artef several requests through telnet I still get:

Re: Haproxy rate limit per matching request

2013-10-28 Thread Cyril Bonté
Hi Willy, Le 28/10/2013 07:36, Willy Tarreau a écrit : Good analysis. Indeed, tcp-request track-sc* does not wait for anything (eg: for connection we must not wait). It is documented as tracking only what is found. The proper method to wait for contents if needed is to rely on a condition for

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

2013-10-28 Thread Fred Pedrisa
Hello, Willy. Is there any alternative to strace ? I am on FreeBSD x64 right now. -Mensagem original- De: Willy Tarreau [mailto:w...@1wt.eu] Enviada em: segunda-feira, 28 de outubro de 2013 03:37 Para: Fred Pedrisa Cc: 'Lukas Tribus'; haproxy@formilux.org Assunto: Re: RES: RES: RES:

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

2013-10-28 Thread Fred Pedrisa
Hello, Willy. As you said, take a look : getsockopt(0x12e,0x,0x1007,0x7fffdb94,0x7fffdb90,0x0) = 0 (0x0) sendto(302,\^D\0\^V0\0\0^z\M-L-\a\0d8\0\0...,926,0x80,NULL,0x0) = 926 (0x39e) recvfrom(682,\^S\0W0\0\0\M-,\^?\M-L-\^P\0\^E@...,8030,0x0,NULL,0x0) = 988 (0x3dc)

Boostez vos affaires avec la vidéo

2013-10-28 Thread Production Audiovisuelle
Title: News Texte  Bonjour ! Cette rencontre pourrait booster vos ventes et développer votre chiffre d'affaires... Vous voulez savoir qui se cache derrière cette invitation ? Je vous invite à vous rendre sur

Re: Haproxy stats socket with nbproc1

2013-10-28 Thread Russell Cohen
So what is the current behavior? Does the stats socket function with nbproc 1, or will it only modify one of the two processes if you drain / disable a server, etc.) Russell

RE: Haproxy stats socket with nbproc1

2013-10-28 Thread Lukas Tribus
Hi! So what is the current behavior? Does the stats socket function with nbproc 1 No. or will it only modify one of the two processes if you drain / disable a server, etc.) Yes, it will only modify the process where the stats process runs on, so in other words the behavior will be

Conviértase en un cobrador seguro y más organizado - Cómo Cobrar como un Experto

2013-10-28 Thread Katherine Gonzalez
Cómo Cobrar como un Experto Medellín 14 - Cali 15 - Bogotá26de Noviembre de 2013¡Cobranza significa mucho más que hacer llamadas telefónicas y pedir dinero! Los cobradores exitosos son aquellos quienes han sido capacitados y han logrado convertirse en comunicadores, negociadores y

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

2013-10-28 Thread Willy Tarreau
Hello Fred, On Mon, Oct 28, 2013 at 10:02:15AM -0200, Fred Pedrisa wrote: Hello, Willy. As you said, take a look : getsockopt(0x12e,0x,0x1007,0x7fffdb94,0x7fffdb90,0x0) = 0 (0x0) sendto(302,\^D\0\^V0\0\0^z\M-L-\a\0d8\0\0...,926,0x80,NULL,0x0) = 926 (0x39e)

Re: I'm so close (I Think) - need a little help finishing this - Haproxy SSL offloading with ACLs and a wildcard cert

2013-10-28 Thread Chris
Hello again Baptiste, Thank you for replying back to my questions, they are very helpful answers and I really do appreciate your time. Concerning your question back about persistence or stickiness: - Sessions need to stay alive after being offloaded to the backend web servers to port 80 on

Re: Haproxy rate limit per matching request

2013-10-28 Thread Przemysław Hejman
Hi, Now everything is working - thank you very much guys for your commitment !! Without your help, it wouldn't work for me. I attach my current working config just if somebody comes here with similar problem: global stats socket /tmp/haproxy.sock defaults mode http timeout

Re: Haproxy rate limit per matching request

2013-10-28 Thread Willy Tarreau
Hi, On Tue, Oct 29, 2013 at 01:15:29AM +0100, Przemys??aw Hejman wrote: Hi, Now everything is working - thank you very much guys for your commitment !! Without your help, it wouldn't work for me. I attach my current working config just if somebody comes here with similar problem:

Is anyone balancing Adobe Media Server

2013-10-28 Thread Robert Snyder
Hi, We currently balance 21 http and a dozen HTTPS (TCP listen block) web properties against caching servers and web heads in multiple data centers. We do some header-based traffic shaping (mostly redirecting mobile requests story our dedicated mobile site). We have been running out pair of

Loadbalancing with ssl on www only

2013-10-28 Thread Felix
Hello, I am using haproxy to loadbalance my webapplication but I get into a problem with our ssl certificate. haproxy is also serving the ssl certificate to the clients. this works quite well. we only have certificate for www as subdomain, so all traffic hitting haproxy should be redirected to

Re: Loadbalancing with ssl on www only

2013-10-28 Thread David Coulson
No. You need to get a cert with both www.domain.com and domain.com in it so both are valid in a browser. Sent from my iPad On Oct 28, 2013, at 9:33 PM, Felix fe...@ferchland.org wrote: Hello, I am using haproxy to loadbalance my webapplication but I get into a problem with our ssl

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

2013-10-28 Thread Fred Pedrisa
Hello, Willy. Yes, this is a 'real machine', running FreeBSD 9 x64. It is a Xeon E5-2650 Dual (So we have 16 physical cores to use here and 32 threads). We are speaking about 100Kpps (input) and 140Kpps (output) 'approximately'. Here is the vmstat 1 result : procs memory page

Re: Consistent hashing alternative to sdbm

2013-10-28 Thread Bhaskar Maddala
Hello, Can you please take a look at [1]? Make sure it is what you had in mind, I read thru our conversation here again and I understood that the change we wanted to implement allowed selection of the hash function in addition to map-based/consistent and avalance. The change provide the