Re: Weird problem with stats_uri

From: Willy Tarreau <>
Date: Mon, 6 Apr 2009 01:05:03 +0200


On Sun, Apr 05, 2009 at 01:42:35PM +0800, Jeffrey 'jf' Lim wrote:
> On Sun, Apr 5, 2009 at 1:06 PM, Will Buckner <> wrote:
> > Hey guys,
> >
> > I'm seeing an interesting thing with 1.3.x in my production environment... I
> > have my stats_uri defined as /proxy_http_stats, requiring a username and
> > password. When I access this URL, about half the time I'm taken to a 404
> > page on my destination servers (haproxy never catches the request for stats)
> > and about half of the time I'll get the stats page. Any ideas on where I can
> > start looking?
> >
> start by first eliminating the question of caches from your equation.
> What do u mean by "haproxy never catches the request for stats"? Does
> it at least come out in the haproxy logs (ie. haproxy *did* see the
> request - but just didnt interpret it as a stats_uri)?

I'm pretty sure the config is lacking "option httpclose", so haproxy only sees the first request of each session. But if the browser reuses a session that was previously used with the server, the request then goes to the server.

Willy Received on 2009/04/06 01:05

This archive was generated by hypermail 2.2.0 : 2009/04/06 01:15 CEST