Ask Your Question

Encountering problems, if tmpfs size is extended

asked 2016-08-16 08:04:31 -0600

ralf46 gravatar image

For video editing purposes, I extended the size of my /tmp folder to 16G. I did this by editing /lib/systemd/system/tmp.mount. I rebooted and tried to copy a 9Gb file in the /tmp folder. At this point my system (Fedora 23 Workstation) reproducible crashes. I've got only 8G of RAM, may this be the problem?

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted

answered 2016-08-16 17:55:08 -0600

snowolfe gravatar image

tmpfs is an in-memory file system and /tmp uses tmpfs by default, so you are correct - having 8G of RAM is the problem.

I am not sure why you are explicitly copying the file into /tmp to edit it (I assume because the files are hosted/located on some external device), but you could create a temporary directory under your home directory and copy your "working files" there, assuming you have sufficient disk space.

As an aside, editing the /lib/systemd/system/tmp.mount entry is never recommended. Files under /lib are replaced whenever a new package update (for the associated system) is applied, effectively overwriting any edits you make. Ideally, locate or create an appropriate config file under /etc and make your changes in that file.

edit flag offensive delete link more

Question Tools



Asked: 2016-08-16 08:04:31 -0600

Seen: 84 times

Last updated: Aug 16 '16