lkml.org 
[lkml]   [2008]   [Jan]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: 2.6.24-rc7: memory leak?
From
Date

On Thu, 2008-01-17 at 22:40 +1100, CaT wrote:
> On Thu, Jan 17, 2008 at 12:22:03PM +0100, Peter Zijlstra wrote:
> > On Thu, 2008-01-17 at 17:34 +1100, CaT wrote:
> > > cache). During the rsync the memory used grew to just shy of 1.6gig and
> > > now, about 2 hours after the rsync has well and truly finished, the used
> > > memory is at 1.23gig. This is what free reports:
> > >
> > > total used free shared buffers cached
> > > Mem: 2058128 1994468 63660 0 688604 11432
> > > -/+ buffers/cache: 1294432 763696
> > > Swap: 1048568 0 1048568
> >
> > How much memory does:
> >
> > echo 3 > /proc/sys/vm/drop_caches
> >
> > gain you?
>
> 56M used now.

Good :-)

> Should all this cache usage not be counted towards the
> 'Cached' entry in meminfo rather then getting counted as part of used
> ram.

Cached is only the page-cache, not all the other caches we have..
This someones confuses people, but one gets used to it. slabinfo allows
one to easily view others.

> I assume that this would not cause an oom situation and would be
> freed up if all that memory really did need to be used.

Correct.




\
 
 \ /
  Last update: 2008-01-17 13:09    [W:0.074 / U:0.060 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site