Wednesday, August 10, 2011

/dev/shm on Linux

/dev/shm is shared memory soace where the data is passed between programs i.e, process threads, tmpfs. It appears as a mounted file system. It is half of the available RAM by default. To increase this file system,

#mount -o remount,size=20g /dev/shm

Add in /etc/fstab for permanent across reboot.