wiki.ipfire.org

The community-maintained documentation platform of IPFire

User Tools

Site Tools


optimization:shm:start

Apply /dev/shm

This adjustment can be apply on every IPFire-system since version 2.x.

The Shared Memory Device (/dev/shm, shm = shared memory) is disabled since version 2.3 on IPFire. Some Addons such as Qemu uses /dev/shm. If multiple VMs run at the same time you should adapt the size of /dev/shm accordingly.

Loggon to IPFire directly or via SSH, and change the following line in “/etc/fstab

/etc/fstab
shm            /dev/shm     tmpfs    default        0     0

to

/etc/fstab
shm            /dev/shm     tmpfs    size=512m      0     0

After restarting the IPFire or remount the device the size of shared memory is raised up to 512 MB.

To remount the device type:

mount -o remount /dev/shm

Ensures that at least that much memory is available!

optimization/shm/start.txt · Last modified: 2018/12/31 21:44 by Jon