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

<box 95% round green|File: /etc/fstab>

shm            /dev/shm     tmpfs    default        0     0

</box>

to

<box 95% round green|File: /etc/fstab>

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

</box>

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: 2013/03/08 09:38 by morlix