memory problem

ridzuan

New member
Joined
Aug 13, 2013
Messages
3
hye,

i need assist regarding to my direct admin,


problem: my memory went too low, from 12GB of ram only 4GB are free. How to check this problem and what is the solution?

DELL R420
12GB of RAM
4x400GB intel SSD



TQVM


Screen Shot 2014-01-14 at 12.52.17 PM.png
 
problem: my memory went too low...
Linux uses all available memory but it is freed when an application or service requires so.
If you use Ubuntu check swappiness with
Code:
cat /proc/sys/vm/swappiness
If it is too low (e.g. 10) this means that your system uses more memory and less swap.
You can change it to 60 with:
Code:
echo 60 > /proc/sys/vm/swapiness

To free pagecache:
Code:
echo 1 > /proc/sys/vm/drop_caches
To free dentries and inodes:
Code:
echo 2 > /proc/sys/vm/drop_caches
To free pagecache, dentries and inodes:
Code:
echo 3 > /proc/sys/vm/drop_caches
 
Login Directadmin -> Process Monitor -> What commands use most RAM ?
 
Back
Top