RE: haproxy hit 100% CPU

2013-04-12 Thread Lukas Tribus
Hi Henry, that sounds like a very serious bug indeed. I suggest you take a traffic capture with a ring buffer and capture the exact frontend traffic. You can do this with dumpcap for example, something like should do it (if your frontend traffic is tcp port 80): dumpcap -i eth0 -p -s0 -b

Re: haproxy hit 100% CPU

2013-04-12 Thread Willy Tarreau
Hi Henry, On Fri, Apr 12, 2013 at 05:06:31AM +, Henry Qian wrote: 3) Tried to trace what haproxy process is doing though strace -c -p $(pid of haproxy). However it returns nothing as well. Which means it's looping in user mode. 4) Used GDB to step though the haproxy process, and find the

Re: clear table doesn't clear all items in stick table

2013-04-12 Thread joe . price
Good Morning Will, Which version of haproxy are you running? I reported a very similar problem in 1.5-dev7 a year ago and Willy committed a fix on 20120109... has it reared its head again since? Joe http://comments.gmane.org/gmane.comp.web.haproxy/7108 -Original Message- From: Will

Re: haproxy hit 100% CPU

2013-04-12 Thread Willy Tarreau
Hi Henry, I found the bug. It happens when hashing a parameter which is not found (typically an absent URL parameter) and then the connection to the selected server experiences connection retries, and the server goes down and up before the redispatching, and is the last server in the farm when

RE: haproxy hit 100% CPU

2013-04-12 Thread Lukas Tribus
Hi! Hi Henry, I found the bug. It happens when hashing a parameter which is not found (typically an absent URL parameter) and then the connection to the selected server experiences connection retries, and the server goes down and up before the redispatching, and is the last server in the

Re: clear table doesn't clear all items in stick table

2013-04-12 Thread Will Glass-Husain
Hi -- sorry -- should have said. This is haproxy 1.5dev18. WILL On Fri, Apr 12, 2013 at 2:15 AM, joe.pr...@vaisala.com wrote: Good Morning Will, Which version of haproxy are you running? I reported a very similar problem in 1.5-dev7 a year ago and Willy committed a fix on 20120109...

RE: haproxy hit 100% CPU

2013-04-12 Thread Henry Qian
Thanks a lot for the fix. I applied it to our servers and will closely monitor how it behaves. From: Willy Tarreau [w...@1wt.eu] Sent: Friday, April 12, 2013 6:04 AM To: Henry Qian Cc: haproxy@formilux.org Subject: Re: haproxy hit 100% CPU Hi Henry,

Balancing SIP

2013-04-12 Thread Jonathan Matthews
Does anyone have anything they could share about using HAProxy for load-balancing SIP? Positive /or/ negative, of course! :-) Jonathan

Re:haproxy in the sky

2013-04-12 Thread Kron
Haha, interesting job. I think the next step is to push haproxy to the open space and balance satellite traffic.

Re: haproxy in the sky

2013-04-12 Thread Willy Tarreau
On Fri, Apr 12, 2013 at 08:22:26PM +0400, Kron wrote: Haha, interesting job. I think the next step is to push haproxy to the open space and balance satellite traffic. :-) I think you didn't read till the end, precisely the last two words ! Willy

Re: Balancing SIP

2013-04-12 Thread David Coulson
On Apr 12, 2013, at 11:26 AM, Jonathan Matthews wrote: Does anyone have anything they could share about using HAProxy for load-balancing SIP? Positive /or/ negative, of course! :-) HAProxy doesn't support UDP traffic, so SIP won't work very well. Maybe look at LVS, or one of the numerous SIP

Can't get client side certificate to work (repost)

2013-04-12 Thread Thomas Dudziak
Hi, I'm trying to follow this blog post: http://blog.exceliance.fr/2012/10/03/ssl-client-certificate-management-at-application-level/, but I can't get the client certificate to work with 1.5dev18. Specifically, I get these errors: 139701807867552:error:14094418:SSL

RE: Can't get client side certificate to work (repost)

2013-04-12 Thread Lukas Tribus
Hi Thomas, I'm trying to follow this blog post: http://blog.exceliance.fr/2012/10/03/ssl-client-certificate-management-at-application-level/, but I can't get the client certificate to work with 1.5dev18. Could you try a few older releases, specifically dev12, 13 and 14 (which is around

Haproxy multiple backend addresses ports

2013-04-12 Thread Vicky Perdana
Hi, I am a newbie to haproxy and was wondering if someone can confirm that the following config is valid? Effectively I would like to load balanced two servers on multiple ports. snippet Listen mybackendLB bind 10.6.200.14:555,10.6.200.14:8009,10.6.200.14:443 mode tcp balance

Haproxy and multipart/form-data

2013-04-12 Thread Hong Quach
I'm having trouble getting haproxy to route multipart requests. Any help would be appreciated. The idea is to route all file uploads to a different server from the main. However, it doesn't seem to ever match the multipart in the request headers. I've tried hdr_beg(Content-Type) multipart and

Re: Haproxy multiple backend addresses ports

2013-04-12 Thread Marco Corte
Il 13/04/2013 01:01, Vicky Perdana: Hi, I am a newbie to haproxy and was wondering if someone can confirm that the following config is valid? Effectively I would like to load balanced two servers on multiple ports. snippet Listen mybackendLB bind