[Pkg-sysvinit-devel] Bug#666696: initscripts: Default tmpfs size for /tmp is rather small on smaller systems
Moray Allan
moray at debian.org
Sun Apr 1 02:04:16 UTC 2012
Package: initscripts
Version: 2.88dsf-22
Severity: normal
Currently the default size of tmpfs for /tmp is 20% of RAM. On smaller
systems, this means that it's quite small.
Non-extreme example, with default setting of TMPFS_SIZE=20% in
/etc/default/tmpfs:
$ free -h
total used free shared buffers cached
Mem: 500M 464M 36M 0B 10M 188M
-/+ buffers/cache: 265M 235M
Swap: 1.2G 2.2M 1.2G
$ df -h /tmp/
Filesystem Size Used Avail Use% Mounted on
tmpfs 101M 24K 101M 1% /tmp
Advocates of tmpfs-for-/tmp talk about how the data will still get
swapped out to disk if needed, so perhaps the default calculation should
also take into account swap?
--
Moray
-- System Information:
Debian Release: wheezy/sid
Architecture: powerpc (ppc)
Kernel: Linux 3.2.0-2-powerpc
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages initscripts depends on:
ii coreutils 8.13-3
ii debianutils 4.2.1
ii libc6 2.13-27
ii lsb-base 3.2-28.1
ii mount 2.20.1-4
ii sysv-rc 2.88dsf-22
ii sysvinit-utils 2.88dsf-22
ii ucf 3.0025+nmu2
Versions of packages initscripts recommends:
ii e2fsprogs 1.42.1-2
ii psmisc 22.16-1
initscripts suggests no packages.
-- no debconf information
More information about the Pkg-sysvinit-devel
mailing list