On 04/26/2014 04:45 AM, Tim wrote:
On Fri, 2014-04-25 at 10:03 -0700, Rick Stevens wrote:
> No, but IIRC the tmpfs filesystem created and mounted on /tmp is 50%
> of your system RAM. Once that is committed, it's done. It won't use up
> all of your RAM and /tmp won't get any bigger than that, but then
> again half of your available RAM is no longer available for program
> usage.
Seems extreme. How many temporary files are that big?
/tmp is system-wide
writable, i.e. any arbitrary users and any arbitrary
process can create an arbitrary number of files in /tmp.
As /tmp had been the traditional unlimited sink for temporary files,
many tools create temporary files of arbitrary size in /tmp.
These tools will occasionally fail to work with TmpOnTmpfs and may cause
system malfunctions, esp. on small RAM systems.
Ralf