Re: Fwd: Site running slow

2010-02-06 Thread Willy Tarreau
Hi Peter, it's needless to resend your mail 3 times. Most people on this list aren't always available, but are generally helpful. Sometimes you just have to be a bit patient. I see no timeout in your stunnel configuration : My stunnel.conf: #setuid=stunnel #setgid=proxy debug = 3 output

Re: Still can't get acl working properly -

2010-02-06 Thread Willy Tarreau
On Fri, Feb 05, 2010 at 07:43:05PM -0800, Craig Carl wrote: I've been beating my head against this for a week, I'm stuck. I am trying to do a really, really simple acl. listen webservers 9.4.184.166:80 acl yahoo url_dom -i yahoo redirect prefix https://yahoo.com if yahoo Won't

Re: Log level error/warning

2010-02-06 Thread Willy Tarreau
Hello Serge, this list is english-speaking, but please see my responses below. On Thu, Feb 04, 2010 at 02:52:11PM +0100, Reynier Serge wrote: Bonjour, j'ai mis un haproxy en place pour des connexions MySQL et j'aimerai loguer seulement les erreurs et warning de haproxy visible sur la page

Re: pausing traffic?

2010-02-06 Thread Greg Gard
thanks willy, probably not going to do the dirty thing. will come up with something else as i have things working pretty nicely now with very few errors. don't want to introduce wierdness. most of my problems with my setup have nothing to do with haproxy, instead they relate to the fact that

Re: Fwd: Site running slow

2010-02-06 Thread Willy Tarreau
On Sat, Feb 06, 2010 at 09:51:45AM +0100, Peter Griffin wrote: Hi Will, I didn't see my post in the archives and since this is a production site I panicked. Thank you so much for your explanation, it's much clearer now. I will make the changes and report back how it went. Do you think

Re: haproxy tuning for apache

2010-02-06 Thread Willy Tarreau
Hi Gabriel, On Wed, Feb 03, 2010 at 09:39:06PM -0200, Gabriel Sosa wrote: guys, we have customized the 503 and added google analytcs on it to know how many errors we get. So far we are seeing few errors and I would like to know if this is because backed servers are full or what. Also I

Re: Public IP addresses

2010-02-06 Thread Willy Tarreau
On Thu, Feb 04, 2010 at 04:25:26PM +, william pink wrote: Hi, I have three Xen instances with public IP addresses and I want to install Haproxy and balance between the two backends, I have done alots of searching but I can't seem to pin point the issue. Here is the issue when I start it

Re: URL rewrite question

2010-02-06 Thread Willy Tarreau
Hi, On Thu, Feb 04, 2010 at 10:31:03PM +0100, Holger Just wrote: On 2010-02-04 21:15, Sriram Chavali wrote: I am trying to rewrite URLs using haproxy's reqirep directive. The url that I am trying to rewrite is of the pattern /action/register?param1=fooparam2=barparam3=baz The URL

Re: Fwd: Site running slow

2010-02-06 Thread Willy Tarreau
On Sat, Feb 06, 2010 at 12:27:10PM +0100, Peter Griffin wrote: The minute I put the changes and made the loadbalancer active, external users experienced serious downtime. I tried accessing our site from an external source and sure enough we were unbrowsable. So I had to take haproxy off

Re: URL rewrite question

2010-02-06 Thread Holger Just
On 2010-02-06 10:55, Willy Tarreau wrote: reqrep ([^\ ]*)\ /action.register\?([^]*)*param2=bar(.*) \1\ /newaction\?\2param2=bar\3 This does it. Looks like your Regex Kung Fu is stronger than mine. But well, it was late :) --Holger

Re: Fwd: Site running slow

2010-02-06 Thread Peter Griffin
Both http https. Also both web servers started to take it in turns to report as DOWN but more frequently the second one than the first. I ran ethtool eth0 and can verify that it's full-duplex 1Gbps: Settings for eth0: Supported ports: [ TP ] Supported link modes: 10baseT/Half

Fwd: Fwd: Site running slow

2010-02-06 Thread Peter Griffin
I forgot to mention that yes this is a dedicated machine. On 6 February 2010 12:47, Willy Tarreau w...@1wt.eu wrote: On Sat, Feb 06, 2010 at 12:27:10PM +0100, Peter Griffin wrote: The minute I put the changes and made the loadbalancer active, external users experienced serious downtime. I

Re: Fwd: Site running slow

2010-02-06 Thread Willy Tarreau
On Sat, Feb 06, 2010 at 01:16:00PM +0100, Peter Griffin wrote: Both http https. Also both web servers started to take it in turns to report as DOWN but more frequently the second one than the first. I ran ethtool eth0 and can verify that it's full-duplex 1Gbps: OK. I'm attaching dmesg, I

How to do a HA redundant

2010-02-06 Thread Giovanny Hidalgo
Hi, What could be a goods alternatives for implement automatic failover on HA Proxy? My operation is duplicated between 2 datacenter with the same ip adressing and I are implement a HA Proxy in the main datacenter and other one in the second datacenter (it's manually go up if the main

Re: Fwd: Site running slow

2010-02-06 Thread Hank A. Paulson
You have selinux on, so it may be unhappy with some part of haproxy - the directory it uses, the socket listeners, etc. Turn it off (if you can) until you get everything working ok. Turning it off requires a reboot. To see if it is on: # sestatus google for how to turn it off I would back off

RE: How to do a HA redundant

2010-02-06 Thread GARRISON, TRAVIS J.
How about something like CARP? Travis From: Giovanny Hidalgo [giovanny.hida...@solidda.com] Sent: Saturday, February 06, 2010 5:06 PM To: haproxy@formilux.org Subject: How to do a HA redundant Hi, What could be a goods alternatives for implement