LWN.net Logo

Temporary files: RAM or disk?

Temporary files: RAM or disk?

Posted Jun 1, 2012 12:43 UTC (Fri) by ottuzzi (subscriber, #74496)
Parent article: Temporary files: RAM or disk?

I was working as sysadmin when our solaris cluster hosting 18 Oracle instances went crazy when someone filled the /tmp mounted as tmpfs (Solaris standard) with stupid log files turned to DEBUG level.
Oracle instances simply stopped to work (messages like not enough memory to fork) and Sun Cluster did not understand the situation and all resource groups went in STOP_FAILED (aka "I don't know how to handle... good luck to you!").
I really think that the default should be the safest choice available and, when needed or desiderable, is sys admin responsibility to look for performance optimization as tmpfs clearly is.
Maybe a simple package to install? yum install tmp_on_tmpfs

Just my 2cents
By
Piero


(Log in to post comments)

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds