Project

General

Profile

Actions

Bug #139

closed

BUG ceph_dentry_info: Objects remaining on kmem_cache_close()

Added by Wido den Hollander almost 14 years ago. Updated over 13 years ago.

Status:
Resolved
Priority:
High
Assignee:
-
Category:
-
Target version:
% Done:

0%

Source:
Tags:
Backport:
Regression:
Severity:
Reviewed:
Affected Versions:
ceph-qa-suite:
Crash signature (v1):
Crash signature (v2):

Description

After unmounting my Ceph filesystem and removing my kernel module i got the following message:

[  167.227965] ceph: loaded (mon/mds/osd proto 15/32/24, osdmap 5/5 5/5)
[  167.236804] ceph: client4098 fsid 94b87913-0b1c-9aba-5717-232aea46dc59
[  167.237265] ceph: mon0 192.168.6.209:6789 session established
[  239.958014] =============================================================================
[  239.958112] BUG ceph_dentry_info: Objects remaining on kmem_cache_close()
[  239.958195] -----------------------------------------------------------------------------
[  239.958196] 
[  239.958343] INFO: Slab 0xffffea0000dec228 objects=51 used=1 fp=0xffff88003fa53fa0 flags=0x100000000000080
[  239.958441] Pid: 1335, comm: rmmod Not tainted 2.6.34-020634-generic #020634
[  239.958444] Call Trace:
[  239.958457]  [<ffffffff8112eea2>] slab_err+0xb2/0xe0
[  239.958466]  [<ffffffff81009928>] ? __switch_to+0x188/0x2e0
[  239.958473]  [<ffffffff81051af6>] ? finish_task_switch+0x66/0xd0
[  239.958478]  [<ffffffff811320c0>] ? flush_cpu_slab+0x0/0x60
[  239.958484]  [<ffffffff81094de8>] ? smp_call_function_single+0x148/0x150
[  239.958488]  [<ffffffff811320c0>] ? flush_cpu_slab+0x0/0x60
[  239.958492]  [<ffffffff811305b9>] list_slab_objects+0xb9/0x1d0
[  239.958497]  [<ffffffff81136367>] ? pcpu_chunk_slot+0x27/0x30
[  239.958501]  [<ffffffff81131fa9>] free_partial+0xa9/0xd0
[  239.958505]  [<ffffffff811327de>] kmem_cache_destroy+0xae/0x160
[  239.958520]  [<ffffffffa01c0e4d>] destroy_caches+0x2d/0x40 [ceph]
[  239.958528]  [<ffffffffa01e962b>] exit_ceph+0x1f/0x2b [ceph]
[  239.958534]  [<ffffffff810988c6>] sys_delete_module+0x166/0x1f0
[  239.958539]  [<ffffffff8100b072>] system_call_fastpath+0x16/0x1b
[  239.958550] INFO: Object 0xffff88003fa53000 @offset=0
[  239.958628] SLUB ceph_dentry_info: kmem_cache_destroy called for cache that still has objects.
[  239.958719] Pid: 1335, comm: rmmod Not tainted 2.6.34-020634-generic #020634
[  239.958721] Call Trace:
[  239.958725]  [<ffffffff81132878>] kmem_cache_destroy+0x148/0x160
[  239.958732]  [<ffffffffa01c0e4d>] destroy_caches+0x2d/0x40 [ceph]
[  239.958740]  [<ffffffffa01e962b>] exit_ceph+0x1f/0x2b [ceph]
[  239.958744]  [<ffffffff810988c6>] sys_delete_module+0x166/0x1f0
[  239.958749]  [<ffffffff8100b072>] system_call_fastpath+0x16/0x1b

I'm running the latest "unstable" of the ceph-client with a 2.6.34 final kernel.

On my Ceph filesystem i was unpacking the Linux kernel and removing it again.

It seems there is some memory which isn't cleaned up properly after a unmount?


Related issues 1 (0 open1 closed)

Related to Linux kernel client - Bug #63: dentry_info slab not emptyResolved04/23/2010

Actions
Actions #1

Updated by Sage Weil almost 14 years ago

Looks this isn't fixed after all (see #63). Maybe a dentry is allocated but never added to the dcache?

Actions #2

Updated by Sage Weil almost 14 years ago

  • Target version set to v2.6.35
Actions #3

Updated by Sage Weil almost 14 years ago

  • Subject changed from Objects remaining on kmem_cache_close() to BUG ceph_dentry_info: Objects remaining on kmem_cache_close()
Actions #4

Updated by Sage Weil almost 14 years ago

  • Priority changed from Normal to High
Actions #5

Updated by Wido den Hollander almost 14 years ago

Haven't seen this bug for a while, might be resolved by accident?

Actions #6

Updated by Sage Weil almost 14 years ago

  • Status changed from New to Resolved

ah, finally fixed by commit:59bb6d659605044c2c62e2f5c76b712db36f7da8

Actions #7

Updated by Sage Weil almost 14 years ago

actually, commit:252af5214682191e34e57204e1a31924fb82c207

Actions

Also available in: Atom PDF