• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
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 455 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 Mar 27, 2025, 9:35 AM

    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?

    P 1 Reply Last reply Mar 27, 2025, 10:15 AM Reply Quote 0
    • P
      patient0 @youcangetholdofjules
      last edited by Mar 27, 2025, 10:15 AM

      @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 Apr 2, 2025, 4:20 PM Reply Quote 0
      • S
        stephenw10 Netgate Administrator
        last edited by Mar 27, 2025, 3:01 PM

        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 18 days ago Reply Quote 1
        • N
          ngr2001 @patient0
          last edited by Apr 2, 2025, 4:20 PM

          @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 Apr 2, 2025, 5:10 PM

            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
            • S
              stephenw10 Netgate Administrator
              last edited by Apr 2, 2025, 5:14 PM

              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 18 days ago

                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.
                  This community forum collects and processes your personal information.
                  consent.not_received