diff --git a/Listener.cpp b/Listener.cpp index 7190cb53..5c77c6d5 100644 --- a/Listener.cpp +++ b/Listener.cpp @@ -69,6 +69,9 @@ void CRealListener::SockError(int iErrno) { if (iErrno == EMFILE) { // We have too many open fds, let's close this listening port to be able to continue // to work, next rehash will (try to) reopen it. + CZNC::Get().Broadcast("We hit the FD limit, closing listening socket on [" + + GetLocalIP() + " : " + CString(GetLocalPort()) + "]"); + CZNC::Get().Broadcast("An admin has to rehash to reopen the listening port"); Close(); } }