Jump to content

how can i increase /tmp siz


daver898
Go to solution Solved by Kilrah,

Recommended Posts

Posted

Hi,

I need to increase my /tmp size.

i did some research and found the - "mount -o remount,size=12G /tmp"

But it doesn't seem to change the size for me.

Any suggestions?

Regards Dave

  • Solution
Posted (edited)

Because /tmp is not itself a tmpfs, it's just a folder in the rootfs. Would have to  "mount -o remount,size=12G /"

But you should rather use /dev/shm which is a separate tmpfs (could resize it the same way) with the difference that if you fill it you won't make the system crash because of a full rootfs.

 

Still need to be careful to leave enough RAM for the apps and system.

Edited by Kilrah

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...