4 ms·
Kind of reminds me the first time I started freaking out over the "Memory Bug" on my Solaris 2.6 install in 1998. So many people got worried by that data, tha
by ghshephard 17y ago
Kind of reminds me the first time I started freaking out over the "Memory Bug" on my Solaris 2.6 install in 1998. So many people got worried by that data, that they modified several of the system binaries to report "filesystem cache" as "free" in later versions of Solaris.
What's old is always new, again.
Linux makes it (reasonably) clear:
shephard@u804:~$ free
total used free shared buffers cached
Mem: 515440 39976 475464 0 2684 16452
-/+ buffers/cache: 20840 494600
Swap: 192740 0 192740
shephard@u804:~$ dd if=/dev/zero of=/tmp/475MB bs=1048576 count=475
475+0 records in
475+0 records out
498073600 bytes (498 MB) copied, 73.7244 s, 6.8 MB/s
shephard@u804:~$ free
total used free shared buffers cached
Mem: 515440 508312 7128 0 1760 475756
-/+ buffers/cache: 30796 484644
Swap: 192740 0 192740
shephard@u804:~$
- FooBarWidget 17y agoMany people don't know how kernel caches and buffers work. Even many developers get confused by this and think that a system is almost out of memory. Luckily someone created http://www.linuxatemyram.com/ http://www.linuxatemyram.com/ - that saves me time to explain it over and over to people who panic about the issue.