Project

General

Profile

Actions

Bug #59125

closed

SubProcess() / fork_function thrash closing fds at high RLIMIT_NOFILE

Added by edef . about 3 years ago. Updated 5 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
common
Target version:
-
% Done:

0%

Source:
Community (dev)
Backport:
reef,squid
Regression:
No
Severity:
3 - minor
Reviewed:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Tags (freeform):
backport_processed
Fixed In:
v19.3.0-707-gd61ec169c2
Released In:
v20.2.0~3304
Upkeep Timestamp:
2025-11-01T01:34:35+00:00

Description

If Ceph is launched with, for example, a systemd unit configured to LimitNOFILE=infinity, forking/subprocess spawning will hang for a very long time trying to make approximately 2^30 close() syscalls and peg a core doing so.

This is the underlying issue leading to https://github.com/rook/rook/issues/10110.


Related issues 2 (0 open2 closed)

Copied to Ceph - Backport #69777: reef: SubProcess() / fork_function thrash closing fds at high RLIMIT_NOFILEResolvedPeter RazumovskyActions
Copied to Ceph - Backport #69778: squid: SubProcess() / fork_function thrash closing fds at high RLIMIT_NOFILEResolvedPeter RazumovskyActions
Actions #1

Updated by edef . about 3 years ago

Actions #2

Updated by Dan Mick about 3 years ago

  • Pull request ID set to 50622
Actions #3

Updated by Peter Razumovsky about 1 year ago

We are observing the described issue in v18.2.4 therefore we really need backporting issue in the nearest upcoming reef release.

Actions #4

Updated by Ilya Dryomov about 1 year ago

  • Status changed from New to Pending Backport
  • Backport set to reef,squid
Actions #5

Updated by Upkeep Bot about 1 year ago

  • Copied to Backport #69777: reef: SubProcess() / fork_function thrash closing fds at high RLIMIT_NOFILE added
Actions #6

Updated by Upkeep Bot about 1 year ago

  • Copied to Backport #69778: squid: SubProcess() / fork_function thrash closing fds at high RLIMIT_NOFILE added
Actions #7

Updated by Upkeep Bot about 1 year ago

  • Tags (freeform) set to backport_processed
Actions #8

Updated by Upkeep Bot about 1 year ago

  • Status changed from Pending Backport to Resolved

While running with --resolve-parent, the script "backport-create-issue" noticed that all backports of this issue are in status "Resolved" or "Rejected".

Actions #9

Updated by Upkeep Bot 8 months ago

  • Merge Commit set to d61ec169c2606b77b805e25c5a5bb82e2e03b921
  • Fixed In set to v19.3.0-707-gd61ec169c26
  • Upkeep Timestamp set to 2025-07-12T16:42:12+00:00
Actions #10

Updated by Upkeep Bot 8 months ago

  • Fixed In changed from v19.3.0-707-gd61ec169c26 to v19.3.0-707-gd61ec169c2
  • Upkeep Timestamp changed from 2025-07-12T16:42:12+00:00 to 2025-07-14T23:40:18+00:00
Actions #11

Updated by Upkeep Bot 5 months ago

  • Released In set to v20.2.0~3304
  • Upkeep Timestamp changed from 2025-07-14T23:40:18+00:00 to 2025-11-01T01:34:35+00:00
Actions

Also available in: Atom PDF