Swap use and normalization time
-
Quick question say your swap space starts getting used during some update or large amount of snort blocks it hasn’t ran all month and is now running. How long after it is no longer needed does it take for the pfSense system software to normalize the space and only use ram again? Long story short how long until an external drive spins down again after the system stabilizes?
-
There's no real reason for it to give up SWAP space so I suspect it would be retained until the next boot.
Unless it's manually removed somehow. But if it's unused I'd expect the drive to spin down. If it's a real spinning drive.
-
@stephenw10 there has got to be some timer right until it normalizes ?
-
Well I'm not sure why it would ever release that. SWAP would only need to be cleared if it got close to exhaustion.
There are some tunable values but I'm not sure any of them would release used swap.
https://man.freebsd.org/cgi/man.cgi?query=tuning#SYSCTL_TUNING