Linux – Why is the server using so much memory

linuxmemoryusage

I haven't even set up my website on my dedicated server so I'm the only one using it at the moment. And yet this is what I see in my sys info:

alt text

Full Size

I just got a bunch of security softwares installed today so I'm wondering if that could be the reason. Programs like Dos deflate, CSF firewall, Mod_security, SIM, Log watch, etc.

My server's details:

CentOS  
Processor       Intel Xeon CPU X3220  
CPU Speed       2.39 GHz  
Cache Size      4.00 MB  
RAM             2GB DDR2

Best Answer

Your picture shows 56% cached memory. Linux works with kernel and cache loaded in the RAM to speed up things. When you have more applications taking up memory, the cache will be reduced to trade off its advantages for running more apps.

In short, things are fine; you are not running out of memory.
The Kernel+Apps memory utilization is near the 30% mark.

Update: sebthebert gave this nice link to LinuxAteMyRam for more reading on the subject.