haproxy/include
Willy Tarreau 00098ea034 MINOR: stats: report the number of active jobs and listeners in "show info"
When an haproxy process doesn't stop after a reload, it's because it
still has some active "jobs", which mainly are active sessions, listeners,
peers or other specific activities. Sometimes it's difficult to troubleshoot
the cause of these issues (which generally are the result of a bug) only
because some indicators are missing.

This patch add the number of listeners, the number of jobs, and the stopping
status to the output of "show info". This way it becomes a bit easier to try
to narrow down the cause of such an issue should it happen. A typical use
case is to connect to the CLI before reloading, then issuing the "show info"
command to see what happens. In the normal situation, stopping should equal
1, jobs should equal 1 (meaning only the CLI is still active) and listeners
should equal zero.

The patch is so trivial that it could make sense to backport it to 1.8 in
order to help with troubleshooting.
2018-11-05 17:15:21 +01:00
..
common MINOR: compat: automatically detect support for crypt_r() 2018-10-29 19:14:14 +01:00
import
proto MEDIUM: mworker: stop the master proxy in the workers 2018-10-28 14:03:31 +01:00
types MINOR: stats: report the number of active jobs and listeners in "show info" 2018-11-05 17:15:21 +01:00