Re: make on os x

2009-07-23 Thread Rapsey
Yes thank you. I figured it out eventually and used the same command as you wrote to build, but kqueue was still not getting enabled. This is the make command I eventually figured out works without issues (uses the default Makefile): make TARGET=osx CPU=i686 USE_KQUEUE=1 USE_POLL=1 USE_PCRE=1

Re: load balancing algorithm

2009-07-23 Thread Johan Duflost
Thanks Pedro for your help. Johan - Original Message - From: Pedro Mata-Mouros Fonseca To: Johan Duflost Cc: haproxy@formilux.org Sent: Wednesday, July 22, 2009 3:44 PM Subject: Re: load balancing algorithm Yup, you can pretty much match any HTTP header, AFAIK. Just

Re: make on os x

2009-07-23 Thread Willy Tarreau
On Thu, Jul 23, 2009 at 08:40:23AM +0200, Rapsey wrote: Yes thank you. I figured it out eventually and used the same command as you wrote to build, but kqueue was still not getting enabled. This is the make command I eventually figured out works without issues (uses the default Makefile):

Re: make on os x

2009-07-23 Thread Rapsey
Even with darwin kqueue was not enabled, I tried it. Why is there even a separate osx makefile if the default one works? Sergej On Thu, Jul 23, 2009 at 1:20 PM, Willy Tarreau w...@1wt.eu wrote: On Thu, Jul 23, 2009 at 08:40:23AM +0200, Rapsey wrote: Yes thank you. I figured it out

Re: queing problems

2009-07-23 Thread Fabian
H Willy, Willy Tarreau schrieb: Your configuration is right. I think that your problem is simply that when you have too many incoming requests, the time to process them all one at a time is too long for the last one to be served. No, it seems like it was a bug in haproxy. The problem went

no stats on 1.3.18?

2009-07-23 Thread Dickson, Paul
I'm showing connections, and stats for data amount in and out on the frontend/backend, but nothing for my target servers. I'm on ubuntu which comes stock with 1.3.15. I removed that package and installed 1.3.18 from source. Any ideas?

Re: no stats on 1.3.18?

2009-07-23 Thread Paul Dickson
OK. Stats started showing up after I established more than one TS session No biggie, but unless I am reading this wrong, there is something wrong with the stats code. The data transferred doesn¹t line up with the systems actually logged in. I¹d think any system logged in that I¹m moving

no trailing slash results in 301

2009-07-23 Thread Rapsey
http://somewebaddress/test will result in a 301 to the server for which haproxy should be proxying requests. So the user is redirected to http://localhost:8080/test. http://somewebaddress/test/ works fine. I tried backend nginx and apache and it is the same. Anyone have an idea whats going on?

Re: queing problems

2009-07-23 Thread Willy Tarreau
On Thu, Jul 23, 2009 at 03:08:52PM +0200, Fabian wrote: H Willy, Willy Tarreau schrieb: Your configuration is right. I think that your problem is simply that when you have too many incoming requests, the time to process them all one at a time is too long for the last one to be served.

Re: haproxy, ec2 and multi cores

2009-07-23 Thread Dan O'Bryan
On Thu, Jul 23, 2009 at 12:06 AM, Willy Tarreauw...@1wt.eu wrote: On Wed, Jul 22, 2009 at 11:24:15PM -0500, Dan O'Bryan wrote: I'm in the process of moving our core traffic from a local datacenter to ec2, using haproxy for load balancing. I am unable to get full usage of the 2 virtual cores.  

Re: no trailing slash results in 301

2009-07-23 Thread Rapsey
Oh it's not a haproxy issue but a webserver one. Because it detects a directory at that location, it will redirect back to itself, with the same URL and add a trailing slash. Unfortunately the server is at 8080 and it will add that port also. Sergej On Thu, Jul 23, 2009 at 4:39 PM, Rapsey

HAProxy and FreeBSD CARP failover

2009-07-23 Thread Daniel Gentleman
Hi list. I'd like to set up a redundant HAProxy server using CARP failover in FreeBSD so the spare server will automatically snatch up the listen IP and balance out our server farm. I can get HAProxy configured, but it won't actually start unless the IP is already bound to the box.

RE: HAProxy and FreeBSD CARP failover

2009-07-23 Thread John Lauro
Only bind to the port so it doesn’t matter if additional addresses are added or removed. From: Daniel Gentleman [mailto:dani...@chegg.com] Sent: Thursday, July 23, 2009 6:13 PM To: haproxy@formilux.org Subject: HAProxy and FreeBSD CARP failover Hi list. I'd like to set up a redundant

Re: HAProxy and FreeBSD CARP failover

2009-07-23 Thread Daniel Gentleman
Good idea except ... that HAProxy server load-balances for a couple different sites :( - Original Message - From: John Lauro john.la...@covenanteyes.com To: Daniel Gentleman dani...@chegg.com, haproxy@formilux.org Sent: Thursday, July 23, 2009 3:23:06 PM GMT -08:00 US/Canada Pacific