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

    RAM Disk Settings - inconsistent limits

    Scheduled Pinned Locked Moved General pfSense Questions
    3 Posts 2 Posters 369 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.
    • A
      anthonys
      last edited by

      pfsense+ 23.01 (running virtualized).
      I have a RAM Disk configured and working, /tmp set at 40, /var set at 200. System Information reports Memory usage 35% of 955 MiB, SWAP 0% of 1024 MiB.

      I navigate to System->Advanced->Miscellaneous, and in RAM Disk Settings, it reports:

      Maximum total size of all RAM disks cannot exceed available memory: 732.57 MiB
      

      But when I attempt to increase /var to 300 (i.e., 340 in total), on Save I get an error message that I have exceeded available kernel memory, and in the RAM Disk Settings, the display has changed to:

      Maximum total size of all RAM disks cannot exceed available memory: 242.49 MiB
      

      My initial challenge, which of the two reported available memory sizes is correct?

      S 1 Reply Last reply Reply Quote 0
      • S
        SteveITS Galactic Empire @anthonys
        last edited by

        @anthonys I think that is related to this? https://redmine.pfsense.org/issues/13508

        Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
        When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
        Upvote 👍 helpful posts!

        A 1 Reply Last reply Reply Quote 0
        • A
          anthonys @SteveITS
          last edited by anthonys

          @steveits said in RAM Disk Settings - inconsistent limits:

          I think that is related to this? https://redmine.pfsense.org/issues/13508

          Thanks, yes, it does appear to be related, although my focus was on the inconsistent value reported by the GUI (before/after Save).

          Since my first post, I've retested on 23.05-BETA built May 03 06:05:00 UTC, and it did appear to resolve the problem (the reported limit in the GUI was consistent before, and after successful and unsuccessful changes to the RAM Disk configuration). It also did let me change /var to 300.

          But the redmine also reports that commit is to be reverted because of other issues. I guess I'll just wait for now.

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