haproxy stats truncation

From: Adam Jacob Muller <haproxy#adam.gs>
Date: Mon, 7 Dec 2009 20:05:58 -0500

Looking over the bug matrix, I see two bugs referencing stats truncation, http://haproxy.1wt.eu/knownbugs-1.3.html "stats output sometimes truncated" fixed in and
"stats output limited to 16 kB" fixed in

I'm running 1.3.22, and i appear to be hitting this bug (i've also tested with and 1.3.20)

Worth noting is that none of the pages being served THROUGH haproxy have this issue, they are all work fine.

Also, haproxy is fantastic, I absolutely love it! But I really want to get some cool stats to impress with, help!


curl -v 'http://x.x.x.x:8080/'

* About to connect() to x.x.x.x port 8080 (#0)
*   Trying x.x.x.x... connected
* Connected to x.x.x.x (x.x.x.x) port 8080 (#0)
> GET / HTTP/1.1
> User-Agent: curl/7.19.6 (i386-apple-darwin10.0.0) libcurl/7.19.6 zlib/1.2.3
> Host: x.x.x.x:8080

> Accept: */*
* HTTP 1.0, assume close after body
< HTTP/1.0 200 OK
< Cache-Control: no-cache
< Connection: close
< Content-Type: text/html
<html><head><title>Statistics Report for HAProxy</title>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
<style type="text/css"><!--

body { font-family: arial, helvetica, sans-serif; font-size: 12px; font-weight: normal; color: black; background: white;} th,td { font-size: 10px; align: center;}
h1 { font-size: x-large; margin-bottom: 0.5em;}
h2 { font-family: helvetica, arial; font-size: x-large; font-weight: bold; font-style: italic; color: #6020a0; margin-top: 0em; margin-bottom: 0em;}
h3 { font-family: helvetica, arial; font-size: 16px; font-weight: bold; color: #b00040; background: #e8e8d0; margin-top: 0em; margin-bottom: 0em;}
li { margin-top: 0.25em; margin-right: 2em;}

.hr {margin-top: 0.25em; border-color: black; border-bottom-style: solid;}
.titre {background: #20D0D0;color: #000000; font-weight: bold;}
.total {background: #20D0D0;color: #ffff80;}
.frontend {background: #e8e8d0;}
.backend {background: #e8e8d0;}
.active0 {background: #ff9090;}
.active1 {background: #ffd020;}
.active2 {background: #ffffa0;}
.active3 {background: #c0ffc0;}
.active4 {background: #ffffa0;}
.active5 {background: #a0e0a0;}
.active6 {background: #e0e0e0;}
.backup0 {background: #ff9090;}
.backup1 {background: #ff80ff;}
.backup2 {background: #c060ff;}
.backup3 {background: #b0d0ff;}
.backup4 {background: #c060ff;}
.backup5 {background: #90b0e0;}
.backup6 {background: #e0e0e0;}
.rls {letter-spacing: 0.2em; margin-right: 1px;}
table.tbl { border-collapse: collapse; border-style: none;} table.tbl td { border-width: 1px 1px 1px 1px; border-style: solid solid solid solid; padding: 2px 3px; border-color: gray;} table.tbl th { border-width: 1px; border-style: solid solid solid solid; border-color: gray;} table.tbl th.pxname {background: #b00040; color: #ffff40; font-weight: bold; border-style: solid solid none solid; padding: 2px 3px; white-space: nowrap;} table.tbl th.empty { border-style: none; empty-cells: hide; background: white;} table.tbl th.desc { background: white; border-style: solid solid none solid; text-align: left; padding: 2px 3px;} table.lgd { border-collapse: collapse; border-width: 1px; border-style: none none none solid; border-color: black;}
table.lgd td { border-width: 1px; border-style: solid solid solid solid; border-color: gray; padding: 2px;} table.lgd td.noborder { border-style: none; padding: 2px; white-space: nowrap;} -->
<body><h1>HAProxy version 1.3.22, released 2009/10/14</h1>
<h2>Statistics Report for pid ...........</h2>
<hr width="100%" class="hr">
<h3>&gt; General process information</h3>
<table border=0 cols=4><tr><td align="left" nowrap width="1%">
<p><b>pid = </b> ............ (process #1, nbproc = 1)<br>
<b>uptime = </b> 0d 0h31m01s<br>

* Closing connection #0
* Failure when receiving data from the peer curl: (56) Failure when receiving data from the peer <b>system Received on 2009/12/08 02:05

This archive was generated by hypermail 2.2.0 : 2009/12/08 02:15 CET