David Coulson on 19 Mar 2008 19:48:44 -0700

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] Using 'noatime' in fstab?

brent timothy saner wrote:
> tmpfs	/var/tmp	none	defaults	0	0
> tmpfs	/var/log	none	defaults	0	0
> tmpfs	/tmp		none	defaults	0	0
As default a tmpfs mount uses 50% of your physical memory - I generally 
use the 'size=' option to limit that, otherwise two mounts have the 
potential to consume it all (tmpfs can end up in swap, which is better 
than killing the box, but it hurts performance).

Why put /var/log on tmpfs? Surely having logs after a reboot or failure 
is useful? If you don't want logs locally, have syslog send them 
somewhere else, but I don't see any point in putting them on a tmpfs 
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug