Re: Understanding how to use rise and fall settings on a dead server

2012-02-02 Thread Baptiste
Hey, According to me, it's easier to change the NIC, since your intermittent issues may happen under load only. With HAProxy, I can't see anything you can currently do to avoid this behavior. I mean that NIC intermittent issues may happen under load, so haproxy would consider server down. load

Re: Multiple haproxy instances and server connection limit

2012-02-02 Thread Baptiste
Hi, There is no way to do this. Even using stick tables, since only entries from a table are synchronized and not counters associated to each of them. sorry. cheers On Thu, Feb 2, 2012 at 10:15 AM, Mariusz Gronczewski xani...@gmail.com wrote: Hi, we have 2 haproxy servers in active-active

questions

2012-02-02 Thread Fraj KALLEL
Hello, I try to install apache cluster with haproxy, the question is: is it necessary that apache nodes are in the same subnet with the loadbalancer nodes? -- Sincerly yours, Fraj KALLEL.

Re: questions

2012-02-02 Thread Baptiste
Hi, there is no reason for such configuration. HAProxy can be installed either in the same subnet or in a different subnet with no issues at all: it works as a reverse proxy in such case. cheers On Thu, Feb 2, 2012 at 3:52 PM, Fraj KALLEL frajkal...@gmail.com wrote: Hello, I try to install

Re: questions

2012-02-02 Thread YHB Sistem Yƶnetimi
2012/2/2 Fraj KALLEL frajkal...@gmail.com Hello, I try to install apache cluster with haproxy, the question is: is it necessary that apache nodes are in the same subnet with the loadbalancer nodes? No, it isn't necessary. It is enough when haproxy can connect to apache servers. --

Re: Help determining where the bottleneck is

2012-02-02 Thread Steve V
Thanks for the response. The stats were lagging actually, we determined that the bottleneck was before HAproxy (it ended up being the IPS in front of the network) However, our linux guy suggested the following sysctl changes to enhance throughput which i will share here: net.ipv4.tcp_tw_reuse =

[no subject]

2012-02-02 Thread Ta ta Tanksley
Hi Im A Student In School And Your Proxy Sites Are Really Useful Can You Please Send Me Updates On The Sites Because They Seem To Block All The Ones We Knew. Thank You

haproxy converts non-standard/extended 5xx error codes to 502

2012-02-02 Thread Mark Slemko
Our web servers (behind haproxy) issue 500 error codes to pass information back to our client application on how to handle future requests. We use standard codes, like 500, 501, 502 but also use some non standard ones, 512 and 513. It seems that haproxy converts these non-standard error codes

Re: Understanding how to use rise and fall settings on a dead server

2012-02-02 Thread John Clegg
That's the problem . We did have a hardware issue on the NIC and the load balancer kept putting the server live / dead all the time. Unfortunately the NIC wasn't monitored so we had no idea the NIC was flapping. (This has is now monitored) My issue that the NIC flapping caused the load balancer

Re: Understanding how to use rise and fall settings on a dead server

2012-02-02 Thread Baptiste
Hi, Your request is legitimate, but I don't see how to do this with HAProxy itself. You need to write a third party script to do this. What I would do is to configure HAProxy logs, configure my syslog to isolate legitimate traffic from server status changes. That way, with a third party script

Issue with client connections hanging to haproxy

2012-02-02 Thread Ivan Ator
Hello. I'm having an issue with connections to haproxy hanging upon the connect stage. My setup is 2 nginx/php-fpm backends with haproxy load balancing them (3 servers total). When connecting directly to the app servers everything is great, but through haproxy my browser hangs at connecting

Re: Issue with client connections hanging to haproxy

2012-02-02 Thread Baptiste
Hi, You should setup net.ipv4.ip_local_port_range as well to increase allowed opened ports to servers. Your maxconns seems too high, but I doubt this is the source of your issue. cheers On Thu, Feb 2, 2012 at 10:16 PM, Ivan Ator ivanat...@gmail.com wrote: Hello. I'm having an issue with

Re: Issue with client connections hanging to haproxy

2012-02-02 Thread Ivan Ator
As per my existing sysctl.conf: net.ipv4.ip_local_port_range = 200064000 I don't think I can do much more :( On 2/2/2012 1:32 PM, Baptiste wrote: Hi, You should setup net.ipv4.ip_local_port_range as well to increase allowed opened ports to servers. Your maxconns seems too high, but I

RE: Understanding how to use rise and fall settings on a dead server

2012-02-02 Thread John Lauro
I tend to have really large rise, and small fall like 2 and 9 (or 99 or higher would be good if you want to ensure it stays down long enough to trigger). That way they stay dead for awhile, but can go down quickly. Anyways, so that it shows in my monitoring system I have this in my zabbix cfg