Hi Slawek,

Le Dimanche 2 Octobre 2011 21:32:57 Slawek a écrit :
> Hi all,
> 
> I've following setup: haproxy-public -> varnish -> haproxy-director,
> where haproxy-public monitors haproxy-director.
> 
> I noticed that haproxy frequently fails to intercept URI specified in
> monitor-uri and passes that request to backend.
> So - in consequence - haproxy is marking that backend unhealthy (because
> the backend is not aware of that URI and returns 404).
> 
> This is frequent enough to make the monitor-uri directive useless.
> 
> Anybody else is experiencing similar behavior?
> 
> Tested on Gentoo Linux, versions: 1.4.15 and 1.4.18.

Does your configuration contains "option httpclose" or
"option http-server-close" ?

If not, this can explain your issue. Without one of these options, haproxy is 
in "tunnel" mode, which means it only analyzes the first request of a 
connection, everything else is considered as data and won't be analyzed.

-- 
Cyril Bonté

Reply via email to