Re: linux memory usage

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

 



On Fri, Oct 24, 2003 at 12:07:39PM -0700, Bala Narayanan wrote:
> The memory usage on top or on output from sar always peaks at 98% even without any application running. Is this a bug or any problem with the server.
> Here is an output from some of my servers:
> 11:42am  up 3 days, 43 min,  3 users,  load average: 0.01, 0.02, 0.00
> 61 processes: 58 sleeping, 3 running, 0 zombie, 0 stopped
> CPU states:  0.0% user,  0.7% system,  0.0% nice, 99.2% idle
> Mem:  1031464K av, 1021844K used,    9620K free,       0K shrd,  190936K buff
> Swap: 2096472K av,   26544K used, 2069928K free                  713760K cached

This is not a bug - it's an understanding of how the memory is used.
You'll note in your top display that you have a lot of memory in your
buffer and cache pools.  This is actually free memory and will be
reclaimed if it's needed.  Looking at the "free" number doesn't show you
the whole picture - the kernel is using memory efficiently and leaves it
in a pool where it might be pulled more efficiently rather than moving
it to the free pool.

In summary, free = free + buff + cache

-- 
Ed Wilts, Mounds View, MN, USA
mailto:ewilts@xxxxxxxxxx
Member #1, Red Hat Community Ambassador Program


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux