xfs
[Top] [All Lists]

Re: XFS 1.1: Too much memory consumed after updatedb

To: Stefan Foerster <stefan@xxxxxxxxxxxxxxxxxx>
Subject: Re: XFS 1.1: Too much memory consumed after updatedb
From: Peter Wächtler <pwaechtler@xxxxxxxxxxxxx>
Date: Fri, 07 Jun 2002 12:43:01 +0200
Cc: linux-xfs@xxxxxxxxxxx
References: <20020607101850.GB1287@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: owner-linux-xfs@xxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.8) Gecko/20020204
Stefan Foerster wrote:
Hi there,

I'm running a Debian/woody system with Kernel 2.4.18-xfs-1.1. So far,
everything works very well. I have just one small problem: During
normal operation, only about 20% of my 512MB RAM are used by
processes, kernel and so on, the remaining memory is used for buffers
etc.
But whenver corn.daily executes the updatedb, memory usage increases
to about 60%. The used memory is not freed after updatedb terminates.
Using top or ps, I wasn't able to identify the process eating up all
that memory. Where can I start searching?



Well, this is a feature of the "new" VM.
Load some big apps (mozilla:) and see the shrinkage of the buffer cache.

# free
             total       used       free     shared    buffers     cached
Mem:        254756     249052       5704          0       8660      75020
                                                       ^^^^^^^^^
-/+ buffers/cache:     165372      89384
Swap:       265032      40252     224780


In the morning this is normally around 80MB for me. When logging
into X, the machine happily throws the pages out and everything
comes back from swap sloooowly.



<Prev in Thread] Current Thread [Next in Thread>