New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
Memory (RAM) usage
I have a 3GB RAM vps. I am running CentOS 6 (64bit), with Virtualmin (httpd - 3 sites, mysql 1 db - 2MB, antivirus, several aliases, no bind server).
It is a new low volume visit sites. But, I am seeing that the ram usage is 1.2G off 3Gb. I dont think I should be using so much RAM. Any thoughts to see what is causing to eat so much memory? Should I be concerned?
[root@myvps log]# free
total used free shared buffers cached
Mem: 3145728 1241820 1903908 0 0 742012
-/+ buffers/cache: 499808 2645920
Swap: 0 0 0
Comments
can't really read that mess, but it's most likely system cache which is perfectly normal. it will be freed automatically if needed.
A good chunk is "cached", see http://www.linuxatemyram.com/
Sorry, hope this is more clear
[root@myvps log]# free
total used free shared buffers cached
Mem: 3145728 1243860 1901868 0 0 742824
-/+ buffers/cache: 501036 2644692
Swap: 0 0 0
so you only have ~500MB used by processes, the rest is system cache which is GOOD
Awesome. Similar to Android. i should have guessed . Thanks for clarification.
Android uses the linux kernel too.
It doesnt matter, any OS, including Windows can be configured to aggressively cache the disk if needed, Windows simply doesnt do so by default, but it is very happy swapping. I will never understand that behaviour by default, but, meh, as long as you can tweak it, it is OK i guess.