Project

General

Profile

Actions

Bug #19343

open

OOM kills ceph-fuse: objectcacher doesn't seem to respect its max objects limits (jewel 10.2.6)

Added by Arne Wiebalck about 7 years ago. Updated about 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(FS):
Labels (FS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Creating a 100G file on CephFS reproducibly triggers OOM to kill the
ceph-fuse process.

With objectcacher debug enabled (debug objectcacher = 10) and looking
at the output (from the "trim" lines) it seems that the reason is that
the objectcacher does not manage to trim its number objects down to the
limit (max = 100 in the example below):

-->
2017-03-20 10:38:53.171177 7fea5f51b700 10 objectcacher trim start: bytes: max 209715200 clean 588, objects: max 100 current 473
2017-03-20 10:38:53.171178 7fea5f51b700 10 objectcacher trim finish: max 209715200 clean 588, objects: max 100 current 473
2017-03-20 10:38:53.171231 7fea6071f700 10 objectcacher trim start: bytes: max 209715200 clean 588, objects: max 100 current 473
2017-03-20 10:38:53.171232 7fea6071f700 10 objectcacher trim finish: max 209715200 clean 588, objects: max 100 current 473
2017-03-20 10:38:53.171300 7fea5f51b700 10 objectcacher trim start: bytes: max 209715200 clean 588, objects: max 100 current 473
2017-03-20 10:38:53.171301 7fea5f51b700 10 objectcacher trim finish: max 209715200 clean 588, objects: max 100 current 473
2017-03-20 10:38:53.171372 7fea6071f700 10 objectcacher trim start: bytes: max 209715200 clean 588, objects: max 100 current 473
2017-03-20 10:38:53.171374 7fea6071f700 10 objectcacher trim finish: max 209715200 clean 588, objects: max 100 current 473
2017-03-20 10:38:53.171451 7fea5f51b700 10 objectcacher trim start: bytes: max 209715200 clean 588, objects: max 100 current 474
2017-03-20 10:38:53.171452 7fea5f51b700 10 objectcacher trim finish: max 209715200 clean 588, objects: max 100 current 474
<--

Note that there is no line saying "trim trimming" (from void ObjectCacher::trim()).

This is with ceph-fuse-10.2.6-0.el7.x86_64.

Actions

Also available in: Atom PDF