Answer the question
In order to leave comments, you need to log in
The Debian file server is always full of RAM. Is it worth cleaning?
Dell Poweredge R720, 8 GB RAM, Debian Wheezy, will soon be introduced as a file server. After starting the system, in 20 minutes all the RAM is clogged
KiB Mem: 8147224 total, 8015004 used, 132220 free, 1751756 buffers
KiB Swap: 9765884 total, 0 used, 9765884 free, 5934160 cached
free -m
total used free shared buffers cached
Mem: 7956 7830 125 0 1710 5800
-/+ buffers/cache: 319 7637
Swap: 9536 0 9536
echo 1 > /proc/sys/vm/drop_caches
Answer the question
In order to leave comments, you need to log in
No need to clean up. This is a normal operation of the system with RAM.
In Linux, this is the model for working with RAM. So that the memory is not idle, the pages that have been read are placed in the cache. This speeds up reread operations. When processes need memory, this cache will either be swapped out or dropped. In general, used \ free are not unambiguous indicators and you need to look at the whole picture.
Here is an interesting article on this subject:
markelov.blogspot.ru/2009/01/linux-procmeminfo.html
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question