Hello,
we are writing a script which reports a server as dead (504 http status code) when one of a number of conditions occurrs. The server is overloaded, is currently running cron jobs etc. This script will be entered as the health check script in haproxy.
We do have one question. Assume the server is full of heavy php instances and prefers to mark itself unavailable for new connections. The script sets itself to 504. Haproxy notices this and marks the server as dead, thereby not sending new connections to the server.
What happens to the current connections, which are still open on the server? Does haproxy in some way close them, or can the client still receive his data?
Thanks
Jan
-- Geschäftsführer / Managing Director Hitflip Media Trading GmbH Gürzenichstr. 7, 50667 Köln http://www.hitflip.de - new: http://www.hitflip.co.uk Private blog: http://www.managingtech.de Tel. +49-(0)221-272407-27 Fax. 0221-272407-22 (that's so 1990s) HRB 59046, Amtsgericht Köln Geschäftsführer: Andre Alpar, Jan Miczaika, Gerald SchönbucherReceived on 2008/01/04 15:22
This archive was generated by hypermail 2.2.0 : 2008/01/04 15:30 CET