Project

General

Profile

Actions

Bug #39661

open

kstore: memory may leak on KStore::_do_read_stripe

Added by Shanchun Lv almost 5 years ago. Updated almost 5 years ago.

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

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(RADOS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

On testing kstore, we found that memory leaks when execute read ops. The root cause is when execute read ops, the in-flight stripes will be cached in memory, but won't be cleared. The appendix is the related heap dump file.


Files

osd0-heap-dump.png (53.2 KB) osd0-heap-dump.png Shanchun Lv, 05/10/2019 03:53 AM
Actions #1

Updated by Shanchun Lv almost 5 years ago

There is no need to cache the in-flight stripes on read process, we can just discard it on read ops.

Actions #2

Updated by Greg Farnum almost 5 years ago

  • Project changed from Ceph to RADOS
Actions

Also available in: Atom PDF