Project

General

Profile

Actions

Bug #45835

closed

mds: OpenFileTable::prefetch_inodes during rejoin can cause out-of-memory

Added by Dan van der Ster almost 4 years ago. Updated almost 3 years ago.

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

0%

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

Description

We just upgraded from mimic v13.2.6 to nautilus v14.2.9 and the single active MDS was going out-of-memory during the rejoin step.
MDS cache size was 4GB, but the OOM occured on 16GB and even 32GB VMs.

`mds_wipe_sessions = true` did not help.

To recover the cluster I did `rados -p cephfs_metadata_pool rm mds0_openfiles.0` then the MDS could activate quickly.


Related issues 2 (0 open2 closed)

Copied to CephFS - Backport #47608: octopus: mds: OpenFileTable::prefetch_inodes during rejoin can cause out-of-memoryResolvedZheng YanActions
Copied to CephFS - Backport #47609: nautilus: mds: OpenFileTable::prefetch_inodes during rejoin can cause out-of-memoryRejectedActions
Actions

Also available in: Atom PDF