Project

General

Profile

Actions

Bug #53585

open

RGW Garbage collector leads to slow ops and osd down when removing large object

Added by pouria dehghani over 2 years ago. Updated about 1 year ago.

Status:
New
Priority:
Normal
Target version:
-
% Done:

0%

Source:
Community (user)
Tags:
gc-queue
Backport:
Regression:
No
Severity:
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

After deleting one file(rgw object) more than 500GB size, we have some laggy pgs, slow ops and osd down on cluster when gc process runs.

We tried many different GC configuration but still have this problem, like below

We dont observe any abnormal usage on disks, memory, cpu on the cluster nodes during GC process.

Following graph represents waste usage on cluster, gc pool size, and number of osd downs.configs:
following configurations are default configurations and we change some of them like concurrent_io or queue_size with different values but the problem still is here :
rgw_gc_max_concurrent_io 10
rgw_gc_max_deferred 50
rgw_gc_max_deferred_entries_size 3072
rgw_gc_max_objs 32
rgw_gc_max_queue_size 134213632
rgw_gc_max_trim_chunk 128
rgw_gc_obj_min_wait 1800
rgw_gc_processor_max_time 3600
rgw_gc_processor_period 3600

our ceph version is 15.2.12
we have SSD tier and HDD tier with separate NVME for BluestoreDB usage

We tried to delete a 2TB file from RGW and it was not a problem because it didn't delete by GC process and i think it deleted by RGW daemon directly, also tried to delete many small files with total size of ~500GB and this also was not a problem.
the problem raised just for single files with ~500GB.
our cluster is upgraded from nautilus 14.2.12 to 15.2.12 and i think this happened after upgrade.


Related issues 2 (0 open2 closed)

Related to rgw - Bug #49823: rgw gc object leak when gc omap set entry failed with a large omap valueResolvedPritha Srivastava

Actions
Related to rgw - Bug #58190: Large RGW GC queue might prevent OSD from startingResolved

Actions
Actions

Also available in: Atom PDF