From: Jan-Benedict Glaw <jbglaw@telefonica.de>
To: ocfs2-devel@oss.oracle.com
Subject: [Ocfs2-devel] Memory leak in ocfs2/dlm?
Date: Tue Nov 21 13:17:29 2006 [thread overview]
Message-ID: <45636CC7.4000600@telefonica.de> (raw)
Hi!
Seems we're facing some memory leak here. This is vanilla 2.6.19-rc6
on a x86_64 box, 4GB RAM.
A simple `ls -Rn' on a filesystem with lots of files makes the box
leak so much RAM that the OOM killer starts to kick in. With slab
alloc debugging turned on, we see this:
# mount; ls -Rn; wait some seconds; Ctrl-C
[root@lnxp-1038:/backend1]$ cat /proc/slab_allocators | egrep '(size.512|ocfs2_inode_cache)' | grep ocfs | sort -k 2 -n
size-512: 1 o2hb_heartbeat_group_make_item+0x1b/0x79 [ocfs2_nodemanager]
size-512: 1 o2hb_map_slot_data+0x22/0x2fa [ocfs2_nodemanager]
size-512: 1 ocfs2_initialize_super+0x55e/0xd7f [ocfs2]
size-512: 26439 ocfs2_dentry_attach_lock+0x2d1/0x423 [ocfs2]
ocfs2_inode_cache: 26450 ocfs2_alloc_inode+0x13/0x29 [ocfs2]
size-512: 52879 dlm_new_lockres+0x22/0x189 [ocfs2_dlm]
# Clear caches
[root@lnxp-1038:/mail/store/backend1]$ echo 3 > /proc/sys/vm/drop_caches
[root@lnxp-1038:/mail/store/backend1]$ echo 0 > /proc/sys/vm/drop_caches
[root@lnxp-1038:/backend1]$ cat /proc/slab_allocators | egrep '(size.512|ocfs2_inode_cache)' | grep ocfs | sort -k 2 -n
size-512: 1 o2hb_heartbeat_group_make_item+0x1b/0x79 [ocfs2_nodemanager]
size-512: 1 o2hb_map_slot_data+0x22/0x2fa [ocfs2_nodemanager]
size-512: 1 ocfs2_initialize_super+0x55e/0xd7f [ocfs2]
size-512: 9 ocfs2_dentry_attach_lock+0x2d1/0x423 [ocfs2]
ocfs2_inode_cache: 20 ocfs2_alloc_inode+0x13/0x29 [ocfs2]
size-512: 52379 dlm_new_lockres+0x22/0x189 [ocfs2_dlm]
Anything known about this?
Thanks, JBG
--
Telef?nica Deutschland GmbH | Jan-Benedict Glaw
H?lshorstweg 30 | Configuration Management
33415 Verl | Email: <jbglaw@telefonica.de>
http://www.telefonica.de/ | Tel.: +49-5246-80-1869
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: OpenPGP digital signature
Url : http://oss.oracle.com/pipermail/ocfs2-devel/attachments/20061121/15d261bd/signature.bin
next reply other threads:[~2006-11-21 13:17 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-11-21 13:17 Jan-Benedict Glaw [this message]
2006-11-21 13:31 ` [Ocfs2-devel] Memory leak in ocfs2/dlm? Jan-Benedict Glaw
2006-11-21 14:29 ` Mark Fasheh
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=45636CC7.4000600@telefonica.de \
--to=jbglaw@telefonica.de \
--cc=ocfs2-devel@oss.oracle.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.