From 22861c2f4083e7e29a732a4907c2dcadd6a6a4db Mon Sep 17 00:00:00 2001 From: David Goulet Date: Thu, 6 May 2021 11:17:26 -0400 Subject: relay: Add TCP port exhaustion metrics Signed-off-by: David Goulet --- src/core/mainloop/connection.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core/mainloop/connection.c') diff --git a/src/core/mainloop/connection.c b/src/core/mainloop/connection.c index 9c6da1295f..4832f25491 100644 --- a/src/core/mainloop/connection.c +++ b/src/core/mainloop/connection.c @@ -1261,7 +1261,7 @@ socket_failed_from_resource_exhaustion(void) */ if (get_max_sockets() > 65535) { /* TCP port exhaustion */ - rep_hist_note_overload(OVERLOAD_GENERAL); + rep_hist_note_tcp_exhaustion(); } else { /* File descriptor exhaustion */ rep_hist_note_overload(OVERLOAD_FD_EXHAUSTED); -- cgit v1.2.3-54-g00ecf