Hi to the FreeNAS community! First post here and relatively new to FreeNAS so apologies if I've not followed the right procedures (I have read the forum guidelines and searched for this issue but couldn't find a solution).
My daily emailed security run output last night showed dozens of get_swap_space failed messages (as per below) which indicate that it had run out of space in the pagefile.
Looking at the reports (see images below which I've tried to show in chronological order) I saw that the system had run out of RAM (32Gb) so had overflown into the pagefile. I rebooted the system this morning and the RAM usage returned to more normal levels however it does seem to be slowly creeping up and is already at c16Gb (slightly higher than I would expect assuming 1Gb per 1Tb rule of thumb and with the system containing c8Tb of files).
Looking this with my inexperienced eye, a few things of note stick out.
1) The pagefile size decreased about the time that I migrated from FreeNAS 9 to 11 - dont think this is relevant
2) Historically my memory usage has been c100%, is this normal??
3) Sometime around the 29th of Jan the graph shows my total memory available dropping to c18Gb - presume just a GUI reporting error however at the same time the pagefile started being used. Over the next week the total memory available increased back to 32Gb but the pagefile increased to 100% at the same time.
Has anyone experienced something similar, is it a memory leak? My main concerns are
a) memory usage being so high when I only have 8Tb of files so expecting c8Gb of usage (I thought I had over provisioned with 32Gb - do I need more?)
b) that I didn't notice the system ticking over into the page file and then running at 100% - is there an easy way of tracking this using the daily reports?
As an incidental I have been getting infrequent "mps1: Out of chain frames, consider increasing hw.mps.max_chains." which seem to be related to FreeBSD, the forum discussions of these are a little bit over my head and seem to suggest this shouldn't be causing an issue...
Any thoughts would be much appreciated!
Thanks
Hugh
System Specs:
MOBO/CPU: X11SSL-CF / Xeon E3-1220 v6
HDD: 8x 4TB WD Black RAIDZ2
RAM: 2x 16GB Samsung DDR4 ECC
Software:
FreeNAS-11.1-RELEASE
No Jails or VM's
Workflow:
An office file server with one share over SMB (only other service running is SMART) running an periodic snapshot from 9am to 6pm with 2 week retention. 8Tb used and 12Tb available in dataset with c500k files. c30 users accessing each with individual accounts that are all part of the same group. I run a separate nightly process that backs up to secondary servers but is initiated by them.
My daily emailed security run output last night showed dozens of get_swap_space failed messages (as per below) which indicate that it had run out of space in the pagefile.
Code:
freenas.local kernel log messages: > swap_pager_getswapspace(19): failed > swap_pager_getswapspace(19): failed > swap_pager_getswapspace(21): failed ....... > swap_pager_getswapspace(11): failed > swap_pager_getswapspace(6): failed > swap_pager_getswapspace(17): failed -- End of security output --
Looking at the reports (see images below which I've tried to show in chronological order) I saw that the system had run out of RAM (32Gb) so had overflown into the pagefile. I rebooted the system this morning and the RAM usage returned to more normal levels however it does seem to be slowly creeping up and is already at c16Gb (slightly higher than I would expect assuming 1Gb per 1Tb rule of thumb and with the system containing c8Tb of files).
Looking this with my inexperienced eye, a few things of note stick out.
1) The pagefile size decreased about the time that I migrated from FreeNAS 9 to 11 - dont think this is relevant
2) Historically my memory usage has been c100%, is this normal??
3) Sometime around the 29th of Jan the graph shows my total memory available dropping to c18Gb - presume just a GUI reporting error however at the same time the pagefile started being used. Over the next week the total memory available increased back to 32Gb but the pagefile increased to 100% at the same time.
Has anyone experienced something similar, is it a memory leak? My main concerns are
a) memory usage being so high when I only have 8Tb of files so expecting c8Gb of usage (I thought I had over provisioned with 32Gb - do I need more?)
b) that I didn't notice the system ticking over into the page file and then running at 100% - is there an easy way of tracking this using the daily reports?
As an incidental I have been getting infrequent "mps1: Out of chain frames, consider increasing hw.mps.max_chains." which seem to be related to FreeBSD, the forum discussions of these are a little bit over my head and seem to suggest this shouldn't be causing an issue...
Any thoughts would be much appreciated!
Thanks
Hugh
System Specs:
MOBO/CPU: X11SSL-CF / Xeon E3-1220 v6
HDD: 8x 4TB WD Black RAIDZ2
RAM: 2x 16GB Samsung DDR4 ECC
Software:
FreeNAS-11.1-RELEASE
No Jails or VM's
Workflow:
An office file server with one share over SMB (only other service running is SMART) running an periodic snapshot from 9am to 6pm with 2 week retention. 8Tb used and 12Tb available in dataset with c500k files. c30 users accessing each with individual accounts that are all part of the same group. I run a separate nightly process that backs up to secondary servers but is initiated by them.