New "Laundry" memory type not reported in UI graphs.
Description
Problem/Justification
None
Impact
None
SmartDraw Connector
Katalon Manual Tests (BETA)
Activity
Show:
Dru Lavigne June 28, 2019 at 2:25 PM
Verified that laundry is in the middleware.
Pete Pete January 5, 2018 at 6:21 PM
Just because it's charts.
Dru Lavigne January 3, 2018 at 7:09 PM
This ticket is for the new UI piece.
Duplicate
Pinned fields
Click on the next to a field label to start pinning.
Created January 3, 2018 at 6:44 PM
Updated July 1, 2022 at 4:27 PM
Resolved June 28, 2019 at 2:25 PM
The Reporting tab includes memory graphs showing RAM taken up by active, inactive, wired, free, and cache.
After upgrading to 11.1 and creating a VM I noticed that my total RAM started dropping, eventually leveling off around 3GB under what my total should have been. (13GB instead of 16GB).
I was directed to "this page":https://www.cyberciti.biz/faq/freebsd-command-to-get-ram-information/ with some tips on analyzing RAM usage.
Two equivalent scripts ( "perl":http://www.cyberciti.biz/files/scripts/freebsd-memory.pl.txt or "shell":https://raw.githubusercontent.com/ocochard/myscripts/master/FreeBSD/freebsd-memory.sh ) provided intriguing results.
> /usr/local/bin/perl ./freebsd-memory.pl
SYSTEM MEMORY INFORMATION:
mem_wire: 10978406400 ( 10469MB) [ 66%] Wired: disabled for paging out
mem_active: + 737406976 ( 703MB) [ 4%] Active: recently referenced
mem_inactive:+ 1292951552 ( 1233MB) [ 7%] Inactive: recently not referenced
mem_cache: + 0 ( 0MB) [ 0%] Cached: almost avail. for allocation
mem_free: + 306196480 ( 292MB) [ 1%] Free: fully available for allocation
mem_gap_vm: + 3307835392 ( 3154MB) [ 19%] Memory gap: UNKNOWN
-------------- ------------ ----------- ------
mem_all: = 16622796800 ( 15852MB) [100%] Total real memory managed
mem_gap_sys: + 447721472 ( 426MB) Memory gap: Kernel?!
-------------- ------------ -----------
mem_phys: = 17070518272 ( 16279MB) Total real memory available
mem_gap_hw: + 109350912 ( 104MB) Memory gap: Segment Mappings?!
-------------- ------------ -----------
mem_hw: = 17179869184 ( 16384MB) Total real memory installed
SYSTEM MEMORY SUMMARY:
mem_used: 15580721152 ( 14858MB) [ 90%] Logically used memory
mem_avail: + 1599148032 ( 1525MB) [ 9%] Logically available memory
-------------- ------------ ----------- ------
mem_total: = 17179869184 ( 16384MB) [100%] Logically total memory
mem_gap_vm matches what is missing from the Reporting tab. Stopping the VM resulted in the mem_gap_vm dropping to around 1500MB. So now I'm not sure if it's a reporting error or a memory leak.
See also, this forum thread: https://forums.freenas.org/index.php?threads/freenas-11-1-disappearing-ram.59967/