Increase shared memory

Samuel Mutel

Dabbler
Joined
Feb 21, 2020
Messages
21
Hello,

Our monitoring system is monitoring the shared memory on our servers.
We have a probe to monitor shared memory which is in alert state on our truenas.
Do we have a way to increase shared memory in TrueNas config.

Thanks.
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,700
Do we have a way to increase shared memory in TrueNas config.
It depends on how your monitoring system is defining "shared memory"... does it mean Free memory? (or are you on SCALE and talking about shm ?)

Since the default is to allow ZFS cache to take almost all "Free memory" and use it to improve performance, you can set a limit with vfs.zfs.arc_max to prevent it from taking all of the available RAM.
 

jgreco

Resident Grinch
Joined
May 29, 2011
Messages
18,680
Shared memory exists on FreeBSD as well, but tends to be used less than on some other operating systems.

Has something broken on the NAS? Or are you just looking to break a correct NAS design in order to mollify a naive monitoring system? The better answer might be to fix the monitoring system.
 
Top