From: David Kowis <dkowis@shlrm.org>
To: Neil Brown <neilb@cse.unsw.edu.au>
Cc: linux-raid@vger.kernel.org, Eric Sandall <eric@sandall.us>
Subject: Re: mdadm memory leak?
Date: Tue, 05 Jul 2005 16:50:32 -0500 [thread overview]
Message-ID: <42CB00A8.2090804@shlrm.org> (raw)
In-Reply-To: <17098.64085.334793.282803@cse.unsw.edu.au>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I resent this email with the slabinfo attachment on it, because I didn't think it sent at all. I got a message back telling me that
slabinfo.com is not a valid attachment. Apparently if you do not put an extension on the file, it's .com .
perhaps the slabinfo.txt will have more info :) if not, well then thanks for the time :)
Neil Brown wrote:
> On Tuesday July 5, dkowis@shlrm.org wrote:
>
>>Quoting Neil Brown <neilb@cse.unsw.edu.au>:
>>
>>
>>>Hmmm.
>>>There is an md related memory leak in 2.6.12, but I don't think it is
>>>there in 2.6.11.anything.
>>>
>>>If 'ps' doesn't show anything, the next place to look is
>>>/proc/slabinfo (which 'slabtop' might display for you).
>>
>>Slabtop:
>>Active / Total Objects (% used) : 217562 / 225483 (96.5%)
>>Active / Total Slabs (% used) : 3972 / 3972 (100.0%)
>>Active / Total Caches (% used) : 78 / 139 (56.1%)
>>Active / Total Size (% used) : 14328.78K / 15891.08K (90.2%)
>>Minimum / Average / Maximum Object : 0.01K / 0.07K / 128.00K
>>
>> OBJS ACTIVE USE OBJ SIZE SLABS OBJ/SLAB CACHE SIZE NAME
>>152098 151909 99% 0.02K 673 226 2692K fasync_cache
>>24867 24846 99% 0.05K 307 81 1228K buffer_head
>>12432 8306 66% 0.27K 888 14 3552K radix_tree_node
>> 7308 6876 94% 0.13K 252 29 1008K dentry_cache
>> 6303 5885 93% 0.36K 573 11 2292K reiser_inode_cache
>
>
> So you have about 16 megabytes used by the slab cache, none of the big
> users 'md' related.
> 16M doesn't sound like a big deal, so I suspect this isn't the source
> of the leak.
> From a separate Email I see:
>
>># ipcs -m
>
> ------ Shared Memory Segments --------
> key shmid owner perms bytes nattch status
> 0x00000000 65536 root 600 33554432 11 dest
> 0x0052e2c1 98305 postgres 600 10330112 11
>
> that you have 43M is shared-memory, which is more that the slab is
> using but still barely 6% of your total memory.
>
>
>>Mem: 773984k total, 765556k used, 8428k free, 65812k buffers
>>Swap: 2755136k total, 0k used, 2755136k free, 526632k cached
>
>
> The fact that swap isn't being touched at all suggests that you aren't
> currently running low on memory.
> The fact the free is low doesn't directly indicate a problem. Linux
> uses free memory to cache files. It will discard then from the cache
> if it needs more memory.
> The fact that the OOM killer is hiting obviously is a problem. Maybe
> you need to report this on linux-kernel was an OOM problem.
>
> NeilBrown
>
>
>
> !DSPAM:42caff8778281883178545!
>
- --
David Kowis
ISO Team Lead - www.sourcemage.org
SourceMage GNU/Linux
One login to rule them all, one login to find them. One login to bring them all, and in the web bind them.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (MingW32)
iD8DBQFCywCotgErhgxHMHsRAggzAJ9/K3WJ1gNrx3aLOdB9JDeDQDtnwACeKZan
qTjRYIgqvOEsvWMSfMD9vIQ=
=a7r7
-----END PGP SIGNATURE-----
next prev parent reply other threads:[~2005-07-05 21:50 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-07-05 4:24 mdadm memory leak? David Kowis
2005-07-05 4:30 ` David Kowis
2005-07-05 4:59 ` Guy
2005-07-05 15:49 ` Eric Sandall
2005-07-05 15:56 ` David Kowis
2005-07-05 4:57 ` Neil Brown
2005-07-05 15:36 ` Eric Sandall
2005-07-05 21:08 ` Neil Brown
2005-07-05 22:04 ` Eric Sandall
2005-07-06 1:30 ` Neil Brown
2005-07-09 20:11 ` Eric Sandall
2005-07-17 4:52 ` Eric Sandall
2005-07-05 15:52 ` David Kowis
2005-07-05 21:23 ` Neil Brown
2005-07-05 21:50 ` David Kowis [this message]
2005-07-08 22:04 ` David Kowis
2005-07-08 23:15 ` Tyler
2005-07-09 4:20 ` David Kowis
2005-07-05 21:41 ` David Kowis
-- strict thread matches above, loose matches on Subject: below --
2005-07-06 16:09 Bailey, Scott
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=42CB00A8.2090804@shlrm.org \
--to=dkowis@shlrm.org \
--cc=eric@sandall.us \
--cc=linux-raid@vger.kernel.org \
--cc=neilb@cse.unsw.edu.au \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).