MINOR: cli/show_fd: report some easily detectable suspicious states
authorWilly Tarreau <w@1wt.eu>
Thu, 21 Jan 2021 08:07:29 +0000 (09:07 +0100)
committerWilly Tarreau <w@1wt.eu>
Thu, 28 Jan 2021 17:13:36 +0000 (18:13 +0100)
commit9e1771423d5b08b5207a160dff3a98ab59aa0f02
tree0fc0d1e53807a66e6cdfa54a4d7e5d5332b14246
parent6cb467ef9d45a6de350d0a7dd6b0d359967cae06
MINOR: cli/show_fd: report some easily detectable suspicious states

A file descriptor which maps to a connection but has more than one
thread in its mask, or an FD handle that doesn't correspond to the FD,
or wiht no mux context, or an FD with no thread in its mask, or with
more than 1 million events is flagged as suspicious.

(cherry picked from commit dacfde4ba42e3a13dd5b13b7df7a37db06d702a6)
Signed-off-by: Willy Tarreau <w@1wt.eu>
src/cli.c