Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Force pfsense to use swap with command

    General pfSense Questions
    2
    2
    1.5k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • B
      buzzinh
      last edited by

      Hey all,

      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... ???

      cheers :-)

      1 Reply Last reply Reply Quote 0
      • jimpJ
        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.

        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        1 Reply Last reply Reply Quote 0
        • First post
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.