[Asterisk-Users] Virtual Memory Usage

Tzafrir Cohen tzafrir at cohens.org.il
Sat Dec 24 22:36:30 MST 2005


On Fri, Dec 23, 2005 at 06:59:50AM -0600, Rich Adamson wrote:
> 
> > This is another thing: Linux tends to use the availble free memory for
> > IO buffers, disk cache and such. So in the output of 'free', look at the
> > second line.
>  
> I'm not the OP, but for those of us that are not considered strong sys 
> admin's (but have been around and using linux since early 90's), could 
> you provide us with a short list of what we should be looking at to
> monitor/manage memory? (More of an educational thingie.)
> 
> When I run 'free' on a small 15 user system as an example, I see:
>              total       used       free     shared    buffers     cached
> Mem:        451172     449788       1384          0     121740      63036
> -/+ buffers/cache:     265012     186160
> Swap:       917496        320     917176
> 
> which kind of implies that I should probably add mem to this box. Am I
> approaching this backasswards or drawing an incorrect conclusion?

You currently have just 320kB of memory swapped out. That can easily be
parts of precesses that will mostly be unused be used (e.g: the console
login processes).

Your system has lots of free memory, as you can see in the second line.
However the OS does not let that free memory lie still: it is used for
IO buffers and caching.

No need to get extra memory.

-- 
Tzafrir Cohen         | tzafrir at jbr.cohens.org.il | VIM is
http://tzafrir.org.il |                           | a Mutt's  
tzafrir at cohens.org.il |                           |  best
ICQ# 16849755         |                           | friend




More information about the asterisk-users mailing list