Yep, you can see your swap usage is zero, additionally you can tweak your vm.swappiness sysctl setting. I usually drop mine down to 10 to reduce its preference of using swap on my laptop and servers when I know my RAM capacity will be sufficient for normal operations.


Sent via BlackBerry from T-Mobile

-----Original Message-----
From: Tony Yarusso <tonyyarusso at gmail.com>
Sender: tclug-list-bounces at mn-linux.org
Date: Mon, 7 Mar 2011 23:36:22 
To: TCLUG Mailing List<tclug-list at mn-linux.org>
Reply-To: TCLUG Mailing List <tclug-list at mn-linux.org>
Subject: Re: [tclug-list] Centos 5.5 WTF in Progress

On Mon, Mar 7, 2011 at 10:41 PM, Mr. B-o-B <mr.chew.baka at gmail.com> wrote:
> [bob at bigdaddy init.d]$ free -m
>             total       used       free     shared    buffers     cached
> Mem:          3828       3804         24          0         83       3492
> -/+ buffers/cache:        228       3600
> Swap:         2000          0       2000

There's not actually anything terribly concerning here.  Look at the
*second* line - you only have 228MB of RAM actually being used "for
real" - the rest is just cache.  The Linux kernel is designed to make
use of all available memory for performance reasons, so it will keep
loading things as caches until it runs out of stuff to load or RAM to
fill.  The second line tells you how much is in use disregarding those
caches.

> Here is the output from ps aux.  It looks like java is out of control.  Is
> this normal?

Yes, Java has a reputation for being a resource hog.

 - Tony
_______________________________________________
TCLUG Mailing List - Minneapolis/St. Paul, Minnesota
tclug-list at mn-linux.org
http://mailman.mn-linux.org/mailman/listinfo/tclug-list