summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Dover <zac.dover@proton.me>2025-01-15 16:25:50 +0100
committerGitHub <noreply@github.com>2025-01-15 16:25:50 +0100
commitad764197fc69e212667884eebd5fd6e5af98a0cb (patch)
tree20c8231d0ec443f3ae6c6120eea084e48151b4be
parentMerge pull request #61289 from ronen-fr/wip-rf-catcher-fix (diff)
parentAsyncMessenger.cc : improve error messages (diff)
downloadceph-ad764197fc69e212667884eebd5fd6e5af98a0cb.tar.xz
ceph-ad764197fc69e212667884eebd5fd6e5af98a0cb.zip
Merge pull request #61373 from anthonyeleven/fix-file-descriptions
AsyncMessenger.cc : improve error messages Reviewed-by: Zac Dover <zac.dover@proton.me>
-rw-r--r--src/msg/async/AsyncMessenger.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/msg/async/AsyncMessenger.cc b/src/msg/async/AsyncMessenger.cc
index 2e38bd434a8..6b3a8c3f6dc 100644
--- a/src/msg/async/AsyncMessenger.cc
+++ b/src/msg/async/AsyncMessenger.cc
@@ -207,22 +207,22 @@ void Processor::accept()
} else if (r == -EAGAIN) {
break;
} else if (r == -EMFILE || r == -ENFILE) {
- lderr(msgr->cct) << __func__ << " open file descriptions limit reached sd = " << listen_socket.fd()
+ lderr(msgr->cct) << __func__ << " open file descriptors limit reached fd = " << listen_socket.fd()
<< " errno " << r << " " << cpp_strerror(r) << dendl;
if (++accept_error_num > msgr->cct->_conf->ms_max_accept_failures) {
- lderr(msgr->cct) << "Proccessor accept has encountered enough error numbers, just do ceph_abort()." << dendl;
+ lderr(msgr->cct) << "Proccessor accept has encountered too many errors, just do ceph_abort()." << dendl;
ceph_abort();
}
continue;
} else if (r == -ECONNABORTED) {
- ldout(msgr->cct, 0) << __func__ << " it was closed because of rst arrived sd = " << listen_socket.fd()
+ ldout(msgr->cct, 0) << __func__ << " closed because of rst arrival fd = " << listen_socket.fd()
<< " errno " << r << " " << cpp_strerror(r) << dendl;
continue;
} else {
lderr(msgr->cct) << __func__ << " no incoming connection?"
<< " errno " << r << " " << cpp_strerror(r) << dendl;
if (++accept_error_num > msgr->cct->_conf->ms_max_accept_failures) {
- lderr(msgr->cct) << "Proccessor accept has encountered enough error numbers, just do ceph_abort()." << dendl;
+ lderr(msgr->cct) << "Proccessor accept has encountered too many errors, just do ceph_abort()." << dendl;
ceph_abort();
}
continue;