off-topic -> memory usage
David Collier
from_busybox_maillist at dexdyne.com
Wed Feb 2 18:14:00 UTC 2011
thank you Gilles. So I shouldn't worry that the Memfree number goes down
and down, as all that is happening is that the system is making good use
of the "unrequired" RAM.
So if I want to watch a figure and worry about it over the days, weeks
and months that my system is up, it should be
MemFree + Buffers + Cached
if that gradually decreases, my box will eventually fail.
???
TVM
D.
In article <1296667905.4d49950190f15 at imp.free.fr>, g.esp at free.fr (Gilles
Espinasse) wrote:
> *From:* Gilles Espinasse <g.esp at free.fr>
> *To:* from_busybox_maillist at dexdyne.com
> *CC:* busybox at busybox.net, Andrew at Dexdyne.com, jeredb at dexdyne.com
> *Date:* Wed, 02 Feb 2011 18:31:45 +0100
>
> Selon David Collier <from_busybox_maillist at dexdyne.com>:
>
>
> > > > Here is what I see
> > > > initial after
> > > > value 12 hours
> > > > soon after
> > > > power-on
> > > > -------- --------
> > > > MemTotal: 30184 kB 30184 kB
> > > > MemFree: 10912 kB 2048 kB
> > > > Buffers: 0 kB 0 kB
> > > > Cached: 6184 kB 14580 kB
>
> > > > I see the memfree has dropped from 11 to 2 megabytes - but I
> > also
> > > > see
> > > > "cached"/"inactive" has taken up the slack.
> > > >
> > > > So the question is - how close is this box to the OOM of doom
> > -
> > > > is the inactive cached memory available for re-use if it's
> > needed, or am
> > > > I really 2M from the drop?
> > > >
> > > > Put it another way - what numbers above do I need to
> > add/subtract
> > > > to get
> > > > a useful value for "available memory"
> > >
> memory used by programs is : MemTotal - MemFree - Buffers - Cached
> memory used by cache is : Buffers + Cached
> cache could be free if a program ask for memory
>
> memfree usually tend to 5% in the long term as system allocate
> unused memory to
> cache until that limit.
>
> Gilles
>
More information about the busybox
mailing list