Re: Strange memory leak in 2.6.x

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello Alexander,

On Wed, Mar 23, 2005 at 02:41:15PM +0100, Alexander Nyberg wrote:
> > > >     881397 times:
> > > >     Page allocated via order 0
> > > >     [0xc013962b] find_or_create_page+91
> > > >     [0xf8aa9955] reiserfs_prepare_file_region_for_write+613
> > > >     [0xf8aaa606] reiserfs_file_write+1366
> > > > 
> > > > So I guess that we have a problem with the reiser filesystem??
> > > > We are using reiserfs 3.6...
> > > 
> > > The only thing that stands out is big page cache. However, looking at
> > > the previous OOM output it shows that it is zone normal that is
> > > completely out of memory and that highmem zone has lots of free memory.
> > > 
> > > Let's see if the big sharks know what is going on...
> > 
> > Because we suspect the problem in reiserfs and we still have to reboot
> > the machine every other day, we will switch to ext3 now.
> 
> Just to follow up, did the problems go away when switching to ext3?

The switch has been delayed. Up to now we just reboot the machine every
48h - the administrator responsible for the machine is on holiday... 

Meanwhile, I noticed, that the latest release candidate has several
changes which could be quite interesting for us:

<[email protected]>
    [PATCH] orphaned pagecache memleak fix

    Chris found that with data journaling a reiserfs pagecache may
    be truncate while still pinned.  The truncation removes the
    page->mapping, but the page is still listed in the VM queues
    because it still has buffers.  Then during the journaling process,
    a buffer is marked dirty and that sets the PG_dirty bitflag as well
    (in mark_buffer_dirty).  After that the page is leaked because it's
    both dirty and without a mapping.

<[email protected]>
    [PATCH] reiserfs: make sure data=journal buffers are cleaned on free

    In data=journal mode, when blocks are freed and their buffers
    are dirty, reiserfs can remove them from the transaction without
    cleaning them. These buffers never get cleaned, resulting in an
    unfreeable page.

On the other side we don't want to install a rc1-kernel on a important
system. Up to now we still plan to do the switch to ext3...

If someone would recommend to install a special reiserfs-patch (*not*
the 12mb of patch-2.6.12-rc1) we would consider that, too! So some
feedback from "the big sharks" is still very welcome.

Best regards	Tobias

-- 
T+T Hennerich GmbH --- Zettachring 12a --- 70567 Stuttgart
Fon:+49(711)720714-0  Fax:+49(711)720714-44  Vanity:+49(700)HENNERICH
UNIX - Linux - Java - C  Entwicklung/Beratung/Betreuung/Schulung
http://www.hennerich.de/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux