Le Jeu 11 avril 2013 14:07, Richard W.M. Jones a écrit : > On Thu, Apr 11, 2013 at 01:51:16PM +0200, Nicolas Mailhot wrote: >> >> 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. > > This would be quite complex. I don't contest this, but it is still less complex than expecting all the unix software that has been written in the last decades to stop using /tmp for big files because it is suddenly limited by memory limits. I don't mind systemd exploring new concepts (and in fact I like it) but it is not reasonable to push those new concepts in a state which is known to break existing software. The tmpfs change has only been implemented halfway. -- Nicolas Mailhot -- devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/devel