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

    RAM Disks not sizing properly

    Scheduled Pinned Locked Moved General pfSense Questions
    7 Posts 5 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.
    • Y
      youcangetholdofjules
      last edited by

      Hardware: (16GiB) or RAM
      39093414-b04a-42c0-8021-f99bcb033a2b-image.png

      RAM Disk Settings:

      ba0512a8-6359-41e3-8168-44cc40e684e3-image.png

      Finally, Dashboard:

      ce0c8f64-19c4-43dd-a1e3-bf2f69bc258a-image.png

      The main disks are 2 256GiB SSD's in RAID0 - hence my desire to use RAM and only involve these when necessary - so large RAM (16GiB) and large /tmp and /var

      Whats going wrong here? Why is /var not the assigned size?

      patient0P 1 Reply Last reply Reply Quote 0
      • patient0P
        patient0 @youcangetholdofjules
        last edited by

        @youcangetholdofjules use the search, Luke. search: ram disk.

        TL;DR: issue reported by a few people, source of issue not found yet, no definitive solution.

        N 1 Reply Last reply Reply Quote 0
        • stephenw10S
          stephenw10 Netgate Administrator
          last edited by

          It's fixed in 25.03-beta.

          It's a boot ordering issue and only happens on some devices. It fails to read the size values from the config and uses the defaults. You might find it's correct after a second reboot.

          S 1 Reply Last reply Reply Quote 1
          • N
            ngr2001 @patient0
            last edited by

            @patient0

            As the team knows, I have the same issue. I disabled ram disks for time being. When the fix comes out I may or may not turn Ram Disks back on.

            1 Reply Last reply Reply Quote 0
            • Y
              youcangetholdofjules
              last edited by

              I have upgraded to the latest beta and whilst reduced, I found it still happening. I can put up with it I guess, reset fixes it. My wife uses as a reason to come and bop me on the head however.

              1 Reply Last reply Reply Quote 0
              • stephenw10S
                stephenw10 Netgate Administrator
                last edited by

                The resizing or /var filling?

                If you see /var filling try restarting the syslogd service. That will be fixed in the next beta.

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

                  The 4200 must be one such model. I restored to a new one using ECL (super handy not to need to connect to it), noted it hadn't enabled the RAM disks (presumably, needed a restart), and then it remained the default 40/60 after a couple of boots. Not sure if that means the values get set sometimes, or it's been that way for months...seems like I would have noticed before now. Anyway I see it's fixed in 25.03 as noted.

                  For those worried about drive wear there is https://redmine.pfsense.org/issues/16210.

                  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!

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