My FreeNAS box is sitting mostly idle (have an ssh session with tmux running), and a couple of Samba shares that aren't doing much, but for some reason there is over 500MB on the swap. I have 32GB of RAM and 2 Pools 8x6TB RaidZ2 and a 2x4TB mirror.
Is there something I need to change/tune?
I don't know how long this data has been on the swap, but I should mention that when I booted FreeNAS, the first thing I did was replace and resilver a 6TB that had been removed/RMA's after a disk failure on my main RaidZ2 pool. Does resilvering cause swapping to occur?
I also ran this script: (to see if it would provide any clue)
Is there something I need to change/tune?
I don't know how long this data has been on the swap, but I should mention that when I booted FreeNAS, the first thing I did was replace and resilver a 6TB that had been removed/RMA's after a disk failure on my main RaidZ2 pool. Does resilvering cause swapping to occur?
I also ran this script: (to see if it would provide any clue)
https://github.com/ocochard/myscripts/blob/master/FreeBSD/freebsd-memory.sh
Code:
SYSTEM MEMORY INFORMATION: mem_wire: 32223371264 ( 30730MB) [ 96%] Wired: disabled for paging out mem_active: + 24322048 ( 23MB) [ 0%] Active: recently referenced mem_inactive:+ 254951424 ( 243MB) [ 0%] Inactive: recently not referenced mem_cache: + 0 ( 0MB) [ 0%] Cached: almost avail. for allocation mem_free: + 489963520 ( 467MB) [ 1%] Free: fully available for allocation mem_gap_vm: + 276844544 ( 264MB) [ 0%] Memory gap: UNKNOWN ______________ ____________ ___________ ______ mem_all: = 33269452800 ( 31728MB) [100%] Total real memory managed mem_gap_sys: + 867729408 ( 827MB) Memory gap: Kernel?! ______________ ____________ ___________ mem_phys: = 34137182208 ( 32555MB) Total real memory available mem_gap_hw: + 222556160 ( 212MB) Memory gap: Segment Mappings?! ______________ ____________ ___________ mem_hw: = 34359738368 ( 32768MB) Total real memory installed SYSTEM MEMORY SUMMARY: mem_used: 33614823424 ( 32057MB) [ 97%] Logically used memory mem_avail: + 744914944 ( 710MB) [ 2%] Logically available memory ______________ ____________ __________ _______ mem_total: = 34359738368 ( 32768MB) [100%] Logically total memory
Attachments
Last edited: