Enable RAM disk for var/log and /tmp, reboot, top shows MORE ram available?

SpookyAction

New Member
Oct 29, 2023
11
3
3
Hi,

Total novice learning OPNsense 23.7.10-1 on a Proxmox VM. The VM is allocated 4 GB of RAM.

Following OPNsense installation guide Initial Configuration , I configured /var/log and /tmp to use RAM (screenshot 1). I have also edited /etc/fstab to add option rw,noatime to the /dev/gpt/rootfs

RAMdisk-01_System_Misc.jpg

Then I reboot, expecting the amount of free memory to be less than before the RAM disk option was enabled. Surprisingly, there is now more free memory (was 2541M, now 3509M). What is the reason?

RAMdisk-04_top_ramReview.jpg
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!