Re: Haproxy statistics

From: Willy Tarreau <w#1wt.eu>
Date: Wed, 25 Jun 2008 07:12:50 +0200


Hi,

On Fri, Jun 20, 2008 at 10:41:09AM +0200, Rene Plattner wrote:
> Hi all!
>
> Assumption: We are running haproxy with multiple processes (nbprocs > 1).
>
> It would be more convenient to display the statistics as a summary of
> all running haproxy processes.
> Currently if you refresh the webpage you get the statistics output of an
> random haproxy process.

Yes, known problem. But since the process don't know about each others, none of them may consult the other ones. Also, some informations are not summarizable. Each process has its own status for a server (up/down, uptime, ...) so it's not possible to return an average. The solution is then to maintain a global server state across all processes, and likely aggregated statistics.

Regards,
Willy Received on 2008/06/25 07:12

This archive was generated by hypermail 2.2.0 : 2008/06/25 07:15 CEST