Stats page wobbly

From: Alexander Staubo <alex#bengler.no>
Date: Fri, 13 Jun 2008 16:58:04 +0200


I am experiencing a problem with the stats URI. When I hit the stats page, it is often proxied instead of being intercepted by HAProxy; in other words, instead of HAProxy's stats page, I get a 404 from my backend. Often reloading the page gives me the stats page again, but it seems to be depend on what requests are currently being routed through HAProxy. In other words, it's a bit wobbly.

My config, simplified, looks like this:

defaults
  stats enable
  stats uri = /haproxy-stats
  stats refresh 5s
  acl static path_beg /images/
  use_backend nginx if static
  default_backend rails

backend rails
# ... proxy to Mongrel

backend nginx
# ... proxy to Nginx

Alexander Received on 2008/06/13 16:58

This archive was generated by hypermail 2.2.0 : 2008/06/13 17:00 CEST