]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MEDIUM: memory: add accounting for failed allocations
authorWilly Tarreau <w@1wt.eu>
Wed, 28 Oct 2015 15:24:21 +0000 (16:24 +0100)
committerWilly Tarreau <w@1wt.eu>
Wed, 28 Oct 2015 15:24:21 +0000 (16:24 +0100)
commit58102cf30b2883c12f5e283520d050283f20b720
treedd81611b9e66f29a0ab866b525ca079f58e8eee2
parentde30a684cab39db61de1101506b8676479dcd85a
MEDIUM: memory: add accounting for failed allocations

We now keep a per-pool counter of failed memory allocations and
we report that, as well as the amount of memory allocated and used
on the CLI.
include/common/memory.h
src/dumpstats.c
src/memory.c