Project

General

Profile

Actions

Bug #64479

open

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

Added by Xavi Hernandez 3 months ago. Updated 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

Also available in: Atom PDF