Re: VM/VFS bug with large amount of memory and file systems?

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Andrew Morton <akpm@...>, Peter Zijlstra <peterz@...>
Cc: Linux Kernel Mailing List <linux-kernel@...>, Linux Memory Management List <linux-mm@...>, <marc.smith@...>
Date: Monday, September 17, 2007 - 10:04 am

On 15 Sep 2007, at 11:52, Andrew Morton wrote:

Marc emailed me the contents of /proc/ 
{slabinfo,meminfo,vmstat,zoneinfo} taken just a few seconds before  
the machine panic()ed due to running OOM completely...  They files  
are attached this time rather than inlined so people don't complain  
about line wrapping!  (No doubt people will not complain about them  
being attached!  )-:)

If I read it correctly it appears all of low memory is eaten up by  
buffer_heads.

<quote>
# name            <active_objs> <num_objs> <objsize> <objperslab>  
<pagesperslab>
: tunables <limit> <batchcount> <sharedfactor> : slabdata  
<active_slabs> <num_s
labs> <sharedavail>
buffer_head       12569528 12569535     56   67    1 : tunables   
120   60    8 :
slabdata 187605 187605      0
</quote>

That is 671MiB of low memory in buffer_heads.

But why is the kernel not reclaiming them by getting rid of the page  
cache pages they are attached to or even leaving the pages around but  
killing their buffers?

I don't think I am doing anything in NTFS to cause this problem to  
happen...  Other than using buffer heads for my page cache pages that  
is but that is hardly a crime!  /-;

Best regards,

	Anton
-- 
Anton Altaparmakov <aia21 at cam.ac.uk> (replace at with @)
Unix Support, Computing Service, University of Cambridge, CB2 3QH, UK
Linux NTFS maintainer, http://www.linux-ntfs.org/
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
VM/VFS bug with large amount of memory and file systems?, Anton Altaparmakov, (Sat Sep 15, 3:27 am)
Re: VM/VFS bug with large amount of memory and file systems?, Anton Altaparmakov, (Mon Sep 17, 10:04 am)
Re: VM/VFS bug with large amount of memory and file systems?, Peter Zijlstra, (Mon Sep 17, 10:32 am)
Re: VM/VFS bug with large amount of memory and file systems?, Christoph Lameter, (Wed Sep 19, 7:29 pm)
Re: VM/VFS bug with large amount of memory and file systems?, Anton Altaparmakov, (Mon Sep 17, 10:09 am)
Re: VM/VFS bug with large amount of memory and file systems?, Anton Altaparmakov, (Sat Sep 15, 6:50 am)
Re: VM/VFS bug with large amount of memory and file systems?, Peter Zijlstra, (Sun Sep 16, 12:16 pm)