Re: counter reset on hot reconfiguration

From: Willy Tarreau <w#1wt.eu>
Date: Sun, 27 Mar 2011 08:42:30 +0200


On Fri, Mar 25, 2011 at 11:13:24AM -0400, James Bardin wrote:
> Is the answer here correct?
> http://serverfault.com/questions/205093/restarting-haproxy-without-losing-counters

No, the guy there is wrong or confused. Stats are per process and are lost upon restart.

> I would love for the counters to be saved across reloads, but I
> haven't seen this in my testing (most extensively on 1.4.11).

Don't waste your time, while you can dump them before stopping (eg from the unix socket), there's no way to reinject them afterwards.

Regards,
Willy Received on 2011/03/27 08:42

This archive was generated by hypermail 2.2.0 : 2011/03/27 08:45 CEST