Force pfsense to use swap with command
I read a post on here before about forcing use of the swap file with a command string but i have searched and searched and can't find it…. :-[
The swap file always says 0% even when my 128mb of ram is nearly maxed out... ???
jimp Rebel Alliance Developer Netgate last edited by
FreeBSD, and thus pfSense will try to efficiently use all of your RAM. "Free" RAM is wasted RAM. Why would you want it sitting there empty?
You might find that it reports high usage, when in fact a good chunk of that may be in use for caching to speed up processing. It won't swap unless it has to do so, but it will if it really does run out of RAM. If it's using some RAM for caching, and a program needs it, it will handle that without swapping.
If you have console/ssh access, look at the first few lines of "top" and it will lay out how much RAM is being used for specific purposes.