From: Lachlan McIlroy <lachlan@sgi.com>
To: Lachlan McIlroy <lachlan@sgi.com>, xfs-oss <xfs@oss.sgi.com>
Subject: Re: another problem with latest code drops
Date: Fri, 17 Oct 2008 11:17:46 +1000 [thread overview]
Message-ID: <48F7E7BA.4070209@sgi.com> (raw)
In-Reply-To: <20081016222904.GA31761@disturbed>
Dave Chinner wrote:
> On Thu, Oct 16, 2008 at 06:35:03PM +1000, Lachlan McIlroy wrote:
>> Dave Chinner wrote:
>>> On Thu, Oct 16, 2008 at 05:38:39PM +1000, Lachlan McIlroy wrote:
>>>> Dave Chinner wrote:
>>>>> On Thu, Oct 16, 2008 at 12:06:21PM +1000, Lachlan McIlroy wrote:
>>>>>> fsstress started reporting these errors
>>>>>>
>>>>>> fsstress: check_cwd failure
>>>>>> fsstress: check_cwd failure
>>>>>> fsstress: check_cwd failure
>>>>>> fsstress: check_cwd failure
>>>>>> fsstress: check_cwd failure
>>>>>> ...
>>> ....
>>>>> Ah, yes. A shutdown in a directory transaction. Have you applied the
>>>>> fix to the directory block allocation transaction accounting that was one
>>>>> of the last patches I posted?
>>>> Yes, I checked that in yesterday and ran with it overnight.
>>> OK.
>>>
>>>>> If so, then there's some other problem in that code that we'll
>>>>> need a reproducable test case to be able to find....
>>>> I was running 8 copies of this command:
>>>> fsstress -p 64 -n 10000000 -d /mnt/data/fsstress.$i
>>>>
>>>> I tried it again but this time the system ran out of memory
>>>> and locked up hard. I couldn't see why though - maybe a memory
>>>> leak.
>>> I just ran up the same load in a UML session. I'd say it's this
>>> slab:
>>>
>>> 2482 2481 99% 0.23K 146 17 584K xfs_btree_cur
>>>
>>> which is showing a leak. It is slowly growing on my system
>>> and dropping the caches doesn't reduce it's size. At least it's
>>> a place to start looking - somewhere in the new btree code we
>>> seem to be leaking a btree cursor....
>> I'm not seeing a leak in that slab - actually that slab doesn't even
>> show up.
>
> Overnight the xfs_btree_cur slab made it up to about 7000 in use
> entries, so there is definitely a leak there, though it is a slow
> one.
>
>> I am seeing a lot of memory used here though:
>>
>> 116605669 116605669 26% 0.23K 6859157 17 27436628K selinux_inode_security
>
> Ah - I don't run selinux. Sounds like a bug that needs reporting
> to lkml...
I'm sure this is caused by your changes that introduced inode_init_always().
It re-initialises an existing inode without destroying it first so it calls
security_inode_alloc() without calling security_inode_free().
next prev parent reply other threads:[~2008-10-17 0:17 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-16 2:06 another problem with latest code drops Lachlan McIlroy
2008-10-16 6:02 ` Dave Chinner
2008-10-16 7:38 ` Lachlan McIlroy
2008-10-16 7:20 ` Dave Chinner
2008-10-16 8:35 ` Lachlan McIlroy
2008-10-16 9:08 ` Christoph Hellwig
2008-10-17 1:13 ` Lachlan McIlroy
2008-10-16 22:29 ` Dave Chinner
2008-10-17 1:17 ` Lachlan McIlroy [this message]
2008-10-17 1:21 ` Dave Chinner
2008-10-17 2:04 ` [PATCH] " Dave Chinner
2008-10-17 2:07 ` Dave Chinner
2008-10-20 2:37 ` Lachlan McIlroy
2008-10-20 3:17 ` Dave Chinner
2008-10-20 4:37 ` Lachlan McIlroy
2008-10-20 5:29 ` Dave Chinner
2008-10-20 6:05 ` Dave Chinner
2008-10-20 21:41 ` Christoph Hellwig
2008-10-17 3:14 ` Lachlan McIlroy
2008-10-19 9:10 ` Christoph Hellwig
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=48F7E7BA.4070209@sgi.com \
--to=lachlan@sgi.com \
--cc=xfs@oss.sgi.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox