Project

General

Profile

Actions

Bug #77692

open
MK MK

rgw/posix,nsfs: directory handle leak in delete workload

Bug #77692: rgw/posix,nsfs: directory handle leak in delete workload

Added by Mark Kogan 5 months ago. Updated 5 months ago.

Status:
In Progress
Priority:
Normal
Assignee:
Target version:
-
Due date:
% Done:

0%

Source:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Tags (freeform):
Merge Commit:
Fixed In:
Released In:
Upkeep Timestamp:

Description

when running hsbench delete workload (hsbench ... -m d ...) on 100K objects

delete operations fail and there are too many open files errors in the log

2026-06-24T16:46:17.805+0000 7ffef09d8640  1 beast: 0x7ffb355fe7a0: 127.0.0.1 - cosbench [24/Jun/2026:16:46:17.805 +0000] " DELETE  /b01b--000000000158/folder01/stage01_000000099998 HTTP/1.1" 204 0 - "aws-sdk-go/1.55.8 (go1.24.6 (Red Hat 1.24.6-1.el9_6); linux; amd64)" - latency=0.000000000s
2026-06-24T16:46:17.805+0000 7fff9331d640  1 ====== starting new request req=0x7ffb355fe7a0 request_id=tx00000cc0504310a9baaec-006a3c09d9 =====
2026-06-24T16:46:17.805+0000 7fff9331d640  0 req 14701161167298734828 0.000000000s s3:delete_obj ERROR: could not open object stage01_000000099999: (24) Too many open files
2026-06-24T16:46:17.805+0000 7fff9331d640  0 req 14701161167298734828 0.000000000s s3:delete_obj ERROR: could not open subdir folder01: (24) Too many open files
2026-06-24T16:46:17.805+0000 7fff9331d640  1 ====== req done req=0x7ffb355fe7a0 op=delete_obj bucket=b01b--000000000159 status=0 http_status=204 latency=0.000000000s request_id=tx00000cc0504310a9baaec-006a3c09d9 

MK Updated by Mark Kogan 5 months ago Actions #1

the fix commit is currently on
branch: https://github.com/mkogan1/ceph/commits/wip-posix-nsfs-accts-notify-sse-misc -->
commit: https://github.com/mkogan1/ceph/commit/adc529c4a1adbf0df24b39f131d573e2987bfd50

problem to make a main PR at this time because it touches a file src/rgw/driver/nsfs/rgw_sal_nsfs.cc which is curently not yet on main, tracker will be solved when Matts "https://github.com/ linuxbox2 /ceph/commits/wip-posix-nsfs-accts-notify-sse-misc" branch will merge to main (the fix commit will be cherry-picked to there)

(this tracker is to track the ^^^ will not get forgotten)

MK Updated by Mark Kogan 5 months ago Actions #2

  • Pull request ID set to 69529
Actions

Also available in: PDF Atom