RAM Disk Settings - inconsistent limits
-
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?
-
@anthonys I think that is related to this? https://redmine.pfsense.org/issues/13508
-
@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.