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

Force pfsense to use swap with command

Scheduled Pinned Locked Moved General pfSense Questions
2 Posts 2 Posters 1.5k Views
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 Mar 10, 2009, 10:04 AM

    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
    • J
      jimp Rebel Alliance Developer Netgate
      last edited by Mar 10, 2009, 12:10 PM

      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
      2 out of 2
      • First post
        2/2
        Last post
      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
        This community forum collects and processes your personal information.
        consent.not_received