]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: activity: add accept queue counters for pushed and overflows
authorWilly Tarreau <w@1wt.eu>
Wed, 27 Feb 2019 09:45:55 +0000 (10:45 +0100)
committerWilly Tarreau <w@1wt.eu>
Wed, 27 Feb 2019 13:27:07 +0000 (14:27 +0100)
commit8a03408d817c6c6e416d1e7334a7ada7d3b41b27
tree92fb4512c59ec6275be8822514e4a5ddb7adc8eb
parente0e9c48ab29cf9b37051f8b26c1a1c7f2a7ad0e9
MINOR: activity: add accept queue counters for pushed and overflows

It's important to monitor the accept queues to know if some incoming
connections had to be handled by their originating thread due to an
overflow. It's also important to be able to confirm thread fairness.
This patch adds "accq_pushed" to activity reporting, which reports
the number of connections that were successfully pushed into each
thread's queue, and "accq_full", which indicates the number of
connections that couldn't be pushed because the thread's queue was
full.
include/types/activity.h
src/cli.c
src/listener.c