httpchk is marking Apache host as down

From: Pedro Mata-Mouros Fonseca <pedro.matamouros#sapo.pt>
Date: Tue, 7 Jul 2009 14:50:18 +0100


Greetings,

In the following configuration I'm doing an httpchk for an Apache host:

backend hosts

         option httpchk
         server host1 127.0.0.1:8081 maxconn 50 check

This is what shows up in the logs:

127.0.0.1 - - [07/Jul/2009:14:35:41 +0100] "OPTIONS / HTTP/1.0" 200 -
127.0.0.1 - - [07/Jul/2009:14:35:45 +0100] "OPTIONS / HTTP/1.0" 200 -
127.0.0.1 - - [07/Jul/2009:14:35:53 +0100] "OPTIONS / HTTP/1.0" 200 -
127.0.0.1 - - [07/Jul/2009:14:35:57 +0100] "OPTIONS / HTTP/1.0" 200 -

This host should be up, however in the HAProxy console it is marked as DOWN and with a red colored line. Consequently HAProxy is returning a 503 Service Unavailable. This happens every once in a while, after the service is working normaly...

I'm using HAProxy 1.3.18. Could I be missing something here? Thanks so much.

Pedro. Received on 2009/07/07 15:50

This archive was generated by hypermail 2.2.0 : 2009/07/07 16:00 CEST