Stop listening if you can't reach a backend

From: Nicolas MONNET <>
Date: Wed, 07 Jan 2009 17:02:09 +0100

I'm working on a weird app which just stops listening ("connection refused") in some conditions, and the just as weird client relies on this. I'm using haproxy to load-balance to several application servers. Is there a simple way to have haproxy stop listening when it detects no backend is responding during its checks? If not what would you advise we use to trigger a script to do that based on the log contents?  

About Ingenico: Ingenico is the world’s leading provider of payment solutions, with over 15 million terminals deployed across the globe. Delivering the very latest secure electronic payment technologies, transaction management and the widest range of value added services, Ingenico is shaping the future direction of the payment solutions market. Leveraging on its global presence and local expertise, Ingenico is reinforcing its leadership by taking banks and businesses beyond payment through offering comprehensive solutions, a true source of differentiation and new revenues streams.  This message may contain confidential and/or privileged information. If you are not the addressee or authorized to receive this for the addressee, you must not use, copy, disclose or take any action based on this message or any information herein. If you have received this message in error, please advise the sender immediately by reply e-mail and delete this message. Thank you for your cooperation.  P Please consider the environment before printing this e-mail     Received on 2009/01/07 17:02

This archive was generated by hypermail 2.2.0 : 2009/01/07 17:15 CET