Re: queued health checks?

2010-03-20 Thread Greg Gard
thanks holger, i did some research and was able to find more on mongrel and queuing. so that helps to clarify. i am unsure what i will do viz checking in the end as we have some long running requests that are frankly the bane of my existence and complicate load balancing. we need to refactor as pa

Re: HAproxy & tproxy problem when try to make transparent proxy

2010-03-20 Thread Daniele Genetti
Hello, L. Alberto Giménez ha scritto: Please check that: * You have the tproxy enabled in your kernel * You have haproxy compiled with tproxy support Your backend servers *can't* see the clients directly (i.e., they have the haproxy box as default gateway and *no other* gateways). The same fo

Re: HAproxy & tproxy problem when try to make transparent proxy

2010-03-20 Thread L. Alberto Giménez
On 03/20/2010 08:27 PM, Daniele Genetti wrote: > So, there is something that don't permit to communicate in transparent > mode.. > Where is the barrier? mmm.. Hi, Sorry for insist on that, but are you *completely* sure that your routing is properly set up so transparent mode can work? This kind

Re: HAproxy & tproxy problem when try to make transparent proxy

2010-03-20 Thread Daniele Genetti
Hello Willy! Willy Tarreau ha scritto: Please simplify the test first. Disable health checks on the server. That way we'll know that health checks are not seeing the server as down. Next step is to ensure that you're sending the request from a machine that must be routed back via the haproxy se

Re: queued health checks?

2010-03-20 Thread Holger Just
Hi Greg, On 2010-03-20 6:52 AM, Greg Gard wrote: > i remember somewhere in the archives mention of a plan to make health > checks get queued like any other request. did that happen in 1.4.x > branch with all the work to health checks. i searched the archives, > but didn't turn up what i remembered

Re: queued health checks?

2010-03-20 Thread Greg Gard
ok, one last post. sorry about the serialization. so here is what i am trying now. for each physical server i have 15 mongrels, each on a separate port. for each "cluster" i have one of the mongrel processes reserved for health checks and mark that one with backup and have my check inter rise fall

Re: queued health checks?

2010-03-20 Thread Greg Gard
an update. i have set my servers to use a rails method and have tested that on several long running requests (e.g. 60+ sec) my mongrel gets marked down on check rise 1 fall 3 inter 20s. i can live with that i guess. it makes my stats page look like a warzone with servers getting marked down and mis