Project

General

Profile

Actions

Bug #64479

open

Memory leak detected when accessing a CephFS volume from Samba using libcephfs

Added by Xavi Hernandez 2 months ago. Updated about 2 months ago.

Status:
Pending Backport
Priority:
Normal
Category:
Performance/Resource Usage
Target version:
% Done:

0%

Source:
Tags:
backport_processed
Backport:
quincy,reef,squid
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
libcephfs
Labels (FS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

When files are continuously created and deleted from a CephFS volume accessed through Samba with libcephfs (Samba's vfs_ceph module), a steady increase of used memory is observed. The growth is relatively slow but constant and eventually it triggers the OOM killer.

The test I used to reproduce it was:

  1. while true; do dd if=/dev/zero of=/mnt/samba/file bs=4k count=1 status=none; rm -f /mnt/samba/file; done

This can be run in parallel using different files to make the leak to happen faster.


Related issues 3 (2 open1 closed)

Copied to CephFS - Backport #64736: quincy: Memory leak detected when accessing a CephFS volume from Samba using libcephfsIn ProgressXavi HernandezActions
Copied to CephFS - Backport #64737: reef: Memory leak detected when accessing a CephFS volume from Samba using libcephfsResolvedXavi HernandezActions
Copied to CephFS - Backport #64738: squid: Memory leak detected when accessing a CephFS volume from Samba using libcephfsIn ProgressXavi HernandezActions
Actions #1

Updated by Venky Shankar 2 months ago

  • Category set to Performance/Resource Usage
  • Status changed from New to Fix Under Review
  • Assignee set to Xavi Hernandez
  • Target version set to v19.0.0
  • Backport set to quincy, reef
  • Pull request ID set to 55619
Actions #2

Updated by Venky Shankar about 2 months ago

  • Status changed from Fix Under Review to Pending Backport
  • Backport changed from quincy, reef to quincy,reef,squid
Actions #3

Updated by Backport Bot about 2 months ago

  • Copied to Backport #64736: quincy: Memory leak detected when accessing a CephFS volume from Samba using libcephfs added
Actions #4

Updated by Backport Bot about 2 months ago

  • Copied to Backport #64737: reef: Memory leak detected when accessing a CephFS volume from Samba using libcephfs added
Actions #5

Updated by Backport Bot about 2 months ago

  • Copied to Backport #64738: squid: Memory leak detected when accessing a CephFS volume from Samba using libcephfs added
Actions #6

Updated by Backport Bot about 2 months ago

  • Tags set to backport_processed
Actions

Also available in: Atom PDF