Answer the question
In order to leave comments, you need to log in
Freeing and Shrinking Linux Cache Memory?
Hello, I rent a cloud and for the most part the machine is idle, but the memory in the statistics (and score) is constant.
Before the commands I tried:
# free
total used free shared buffers cached
Mem: 163840 30048 133792 0 900 4916
-/+ buffers/cache: 24232 139608
Swap: 249852 1728 248124
# free
total used free shared buffers cached
Mem: 163840 29224 134616 0 52 4908
-/+ buffers/cache: 24264 139576
Swap: 249852 1728 248124
Answer the question
In order to leave comments, you need to log in
vm.vfs_cache_pressure = ....
Try
the /etc/sysctl.conf option . Might help.
If you upgraded packages and did not reboot after that, then the memory may be occupied by old versions of the lib.
Something like this:
00007fcd764af000 2044 — — — ----- libdigestmd5.so.2.0.23
00007fcd766ae000 4 — — — r---- libdigestmd5.so.2.0.23
00007fcd766af000 4 — — — rw--- libdigestmd5.so.2.03
00007fcd766b0000 36 — — — rx-- libcrypt-2.11.1.so (deleted)
00007fcd766b9000 2048 — — — ----- libcrypt-2.11.1.so (deleted)
00007fcd768b9000 4 — — — r---- libcrypt- 2.11.1.so (deleted)
00007fcd768ba000 4 - - - rw--- libcrypt-2.11.1.so (deleted)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question