Here's the output of free -m
:
total used free shared buff/cache available
Mem: 421 158 153 39 109 195
Swap: 0 0 0
I executed echo 3 > /proc/sys/vm/drop_caches
to drop all possible caches, but buff/cache
value still stays at 109MB. What holds those caches? Can I drop them somehow?
System used is XUbuntu 16.04.
Some of those caches (43mb) are probably used by tmpfs:
tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=43188k,mode=700,uid=1000,gid=1000)
Which leaves more space to account for.
Output of df -mt tmpfs
:
Filesystem 1M-blocks Used Available Use% Mounted on
tmpfs 43 3 40 7% /run
tmpfs 211 1 211 1% /dev/shm
tmpfs 5 1 5 1% /run/lock
tmpfs 211 0 211 0% /sys/fs/cgroup
tmpfs 43 1 43 1% /run/user/1000
tmpfs
?sync
? – frostschutz Nov 09 '16 at 20:40df -mt tmpfs
. – sourcejedi Nov 09 '16 at 20:57/dev/shm
,buff/cache
should increase by about 50M (provided you have space for it in terms offree
). – sourcejedi Nov 10 '16 at 08:06dd if=/dev/zero bs=1M count=50 of=/dev/shm/test
– sourcejedi Nov 10 '16 at 08:15