Actions
Bug #64348
openmds: possible memory leak in up:rejoin when opening cap inodes (from OFT)
Status:
Triaged
Priority:
High
Assignee:
Category:
Performance/Resource Usage
Target version:
% Done:
0%
Source:
Tags:
Backport:
Regression:
No
Severity:
2 - major
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
MDS
Labels (FS):
task(medium)
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
Seems to happen when there are entries in OFT for which the MDS prefetches inodes. The config mds_oft_prefetch_dirfrags
which is disabled by default is concerned only to disable prefetching dirfrags, however, the OFT will still prefetch inodes and there seems to be a memleak somewhere (which isn't getting tested in our qa suite, else we probably would have noticed in valgrind test).
The memleak causes the MDS to get OOM killed (also partly because the cache limits aren't really taken into consideration in this state). This was observed in a couple of user clusters. Unfortunately the logs didn't provide any hints other than the MDS prefetching inodes from the OFT and the MDS rss size hitting the node memory limit.
Actions