Hi,

I'm using haproxy to proxy various tcp traffic (MySQL, IMAP, POP3, SMTP).

I've had a couple of situations now where a backend server reaches
really high load and doesn't reject connections, but becomes
incredibly slow to respond. Since the connections aren't rejected
haproxy doesn't seem to realise that there is a problem with the
server.
I was thinking that some sort of daemon on the back end server could
be used to respond to haproxy's health checks since haproxy has no
real way of telling there's a problem since connections are just
horribly slow.

What would be the best way to use something like this in haproxy?
httpchk and return http like responses from the daemon? Or something
else?
I figure this would also allow for more indepth checks than a simple
tcp connection check depending on the service being tested.

Any advice or alternative ideas would be great.

Thanks
Guy

-- 
Don't just do something...sit there!

Reply via email to