Le Mer 10 avril 2013 22:52, Richard W.M. Jones a écrit :
On Wed, Apr 10, 2013 at 06:55:59PM +0200, Ralf Corsepius wrote:
> Disable /tmp on tmpfs?
I have suggested this should be done automatically in RAM-limited
situations (primarily for VMs):
https://bugzilla.redhat.com/show_bug.cgi?id=858265
Well, ideally it would never have been done in the first place, but we
are where we are.
Ideally it should never have been done without some automated way to grow
swap via files in /var/tmp when the tmpfs gets saturated (and possibly
shrink it back when the pressure ceases). That's the only way to get the
benefits of a ramdisk without hitting mem limits at unexpected moments.
Regards,
--
Nicolas Mailhot