Project

General

Profile

Actions

Bug #41169

closed

beast frontend throws an exception when running out of FDs

Added by Yuval Lifshitz over 4 years ago. Updated over 4 years ago.

Status:
Resolved
Priority:
High
Target version:
-
% Done:

0%

Source:
Development
Tags:
beast
Backport:
luminous mimic nautilus
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

the problem could be transient, and later connections may be successful after the load goes down.

to reproduce the issue you can set:

ulimit -n 128

and execute multiple clients in parallel.

code is here: https://github.com/ceph/ceph/blob/master/src/rgw/rgw_asio_frontend.cc#L570

void AsioFrontend::accept(Listener& l, boost::system::error_code ec)
{
  if (!l.acceptor.is_open()) {
    return;
  } else if (ec == boost::asio::error::operation_aborted) {
    return;
  } else if (ec) {
    throw ec;
  }


Related issues 3 (0 open3 closed)

Copied to rgw - Backport #41265: mimic: beast frontend throws an exception when running out of FDsResolvedNathan CutlerActions
Copied to rgw - Backport #41266: luminous: beast frontend throws an exception when running out of FDsResolvedNathan CutlerActions
Copied to rgw - Backport #41267: nautilus: beast frontend throws an exception when running out of FDsResolvedNathan CutlerActions
Actions

Also available in: Atom PDF