How Increase Tmpf Size in Linux?
Contents How Do I Change the Size of a Tmpf in Linux? to Increase the Size, Do the Following: Modify /Etc/Fstab Line to Look Something Like This: Tmpfs...
Contents
How do I change the size of a TMPF in Linux?
To increase the size, do the following:
- Modify /etc/fstab line to look something like this: tmpfs /dev/shm tmpfs size=24g 0 0.
- mount -o remount tmpfs.
- df -h (to see the changes)
- Note: Be careful not too increase it too much b/c the system will deadlock since the OOM (Out-Of-Memory) handler can not free up that space.
How do I increase my tmp space?
Open up /etc/mtab in your favorite text editor with root privledges (ie “sudo vim /etc/mtab”). And increase the memory allocated to your /tmp folder. After restart Ubuntu will increase the space to /tmp, and fix this problem.