Skip to content

Commit 3d36a3b

Browse files
committed
AsyncMessenger.cc : improve error messages
Signed-off-by: Anthony D'Atri <[email protected]>
1 parent fca07e9 commit 3d36a3b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/msg/async/AsyncMessenger.cc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -207,22 +207,22 @@ void Processor::accept()
207207
} else if (r == -EAGAIN) {
208208
break;
209209
} else if (r == -EMFILE || r == -ENFILE) {
210-
lderr(msgr->cct) << __func__ << " open file descriptions limit reached sd = " << listen_socket.fd()
210+
lderr(msgr->cct) << __func__ << " open file descriptors limit reached fd = " << listen_socket.fd()
211211
<< " errno " << r << " " << cpp_strerror(r) << dendl;
212212
if (++accept_error_num > msgr->cct->_conf->ms_max_accept_failures) {
213-
lderr(msgr->cct) << "Proccessor accept has encountered enough error numbers, just do ceph_abort()." << dendl;
213+
lderr(msgr->cct) << "Proccessor accept has encountered too many errors, just do ceph_abort()." << dendl;
214214
ceph_abort();
215215
}
216216
continue;
217217
} else if (r == -ECONNABORTED) {
218-
ldout(msgr->cct, 0) << __func__ << " it was closed because of rst arrived sd = " << listen_socket.fd()
218+
ldout(msgr->cct, 0) << __func__ << " closed because of rst arrival fd = " << listen_socket.fd()
219219
<< " errno " << r << " " << cpp_strerror(r) << dendl;
220220
continue;
221221
} else {
222222
lderr(msgr->cct) << __func__ << " no incoming connection?"
223223
<< " errno " << r << " " << cpp_strerror(r) << dendl;
224224
if (++accept_error_num > msgr->cct->_conf->ms_max_accept_failures) {
225-
lderr(msgr->cct) << "Proccessor accept has encountered enough error numbers, just do ceph_abort()." << dendl;
225+
lderr(msgr->cct) << "Proccessor accept has encountered too many errors, just do ceph_abort()." << dendl;
226226
ceph_abort();
227227
}
228228
continue;

0 commit comments

Comments
 (0)