Re: Moving /tmp to tmpfs makes it useless
On Fri, May 25, 2012 at 06:08:34AM +0300, Serge wrote:
> It dosn't always work in practice. Among the problems I faced myself...
> I wasn't able to watch a web presentation (from something like
> vimeo/youtube), because there was not enough free space in /tmp for flash
> player to download and show it.
I thought those were streaming video sites? Do you mean flash player or
something else?
> Ok, I agree. There're two main /tmp usages. Some applications use it to
> save memory (databases, archive managers, cd burners, image processors,
> science software, the flash player after all). Other apps use it for
> communication (browsers, mail clients). But in both cases these files may
> be large and should be still stored on real disk, not on tmpfs.
> And having /tmp on tmpfs makes it useless for both usages.
Why is it useless for the second case?
> The matter is that exceptions are *not rare*. A simple 2-hours-long
> video presentation may cause you problems. Pressing Enter in `mc` on
> linux-kernel-src.tar.bz2 may cause you problems.
How much RAM do you have / how big is your /tmp(fs)? The fact this caused
you trouble suggests to me that they must be very small.
Reply to: