Re: HAProxy mod_rails (Passenger)

2009-02-20 Thread Matthias Müller
Hi there seems like the failing requests issue is related to the check interval for option httpchk /health_check.html I guess these requests are being queued by Apache itself. We're having a couple of long running requests on our machines. These requests are queued in Apache by the Apache and

Re: A patch for haproxy 1.3.15.7 (HTTP-ECV)

2009-02-20 Thread FinalBSD
Hi Willy, I'm sorry, I think these two features are actullay the same, so I just give you one patch. Maybe you should do some optimization for my code, but it's works now. Now we can use: option httpchk GET /http-check.php HTTP/1.0 http-check expect ! status 2.. server

Re: Read stat or info from the socket via perl

2009-02-20 Thread Guillaume Bourque
Hi, just do it in bash it works well for me. Bye Maria a écrit : Dear Willy, I don't have a lot of experience in perl to. As Nagios allows also to do this via bash or c, I can also use this. My main goal is only to read this information with a language (supported by nagios) and send them to

Re: Read stat or info from the socket via perl

2009-02-20 Thread Willy Tarreau
Hello Maria, On Fri, Feb 20, 2009 at 11:56:53AM +0100, Maria wrote: Dear Willy, I don't have a lot of experience in perl to. As Nagios allows also to do this via bash or c, I can also use this. My main goal is only to read this information with a language (supported by nagios) and send

priority servers in an instance

2009-02-20 Thread Karl Pietri
Hello everyone, I am using haproxy with ruby on rails backend servers and am trying to setup a system that will have a few mongrels dedicated to priority traffic and spill over to the main pool if those are busy. i've attached a diagram of what i'm trying to accomplish. Eseentially i have 2