Project

General

Profile

Actions

Bug #21412

closed

cephfs: too many cephfs snapshots chokes the system

Added by Wyllys Ingersoll over 6 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Urgent
Assignee:
Category:
Correctness/Safety
Target version:
% Done:

0%

Source:
Community (user)
Tags:
snaps
Backport:
Regression:
No
Severity:
2 - major
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
MDS
Labels (FS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

We have a cluster with /cephfs/.snap directory with over 4800 entries. Trying to delete older snapshots (some are over 6 months old on a pretty active file system) causes the "rmdir" command to hang, as well as any future operations on the .snap directory (such as 'ls'). Also, it is causing the number of blocked requests to grow indefinitely.

Ceph 10.2.7
Ubuntu 16.04.2
Kernel: 4.9.10


Files

ceph-mds.mds01.log.gz (557 KB) ceph-mds.mds01.log.gz Wyllys Ingersoll, 09/15/2017 09:52 PM
perf_dump.after.txt (5.73 KB) perf_dump.after.txt Wyllys Ingersoll, 10/09/2017 01:51 PM
dentry_lru.txt (347 KB) dentry_lru.txt cephfs dentry_lru during a snapshot deletion Wyllys Ingersoll, 10/09/2017 01:55 PM
Actions

Also available in: Atom PDF