[Pkg-sysvinit-devel] Bug#665635: midnight commander archive browsing broken by tmpfs /tmp (2 gb ram)

Joey Hess joeyh at debian.org
Sat Mar 24 19:36:40 UTC 2012


Package: initscripts
Version: 2.88dsf-13.13
Severity: normal

-------- Forwarded message from Camaleón -----------------

To: debian-user at lists.debian.org
Subject: [Feedback needed] Setting the right size for /tmp
From: Camaleón <noelamac at gmail.com>
Date: Mon, 28 Nov 2011 18:07:43 +0000 (UTC)
Message-id: <pan.2011.11.28.18.07.43 at gmail.com>

Hello,

I'm running an updated wheezy and today faced with this little 
problematic.

While running Midnight Commander to open (on-the-fly decompression for 
browsing the archive) the kernel source package (a ~75 MiB .tar.bz2 file) 
I got this error:

http://picpaste.com/mc-error-YXdyRawO.gif

My Atom based netbook is not a powerful system but has 2 GiB of ram and 
250 hard disk so, what was happening?

"df -H" told me:

S.ficheros     Tamaño Usado  Disp Uso% Montado en
/dev/sda2        247G  7,7G  239G   4% /
tmpfs            5,3M  4,1k  5,3M   1% /lib/init/rw
tmpfs            212M  664k  211M   1% /run
tmpfs            5,3M     0  5,3M   0% /run/lock
tmpfs            423M  423M     0 100% /tmp		<--- here!
udev             1,1G     0  1,1G   0% /dev
tmpfs            423M  238k  423M   1% /run/shm

Okay, so /tmp is full. Fine. I know how to solve it but I can foresee 
more situations like this in the future so some questions arise. As the 
current tmpfs default settings for /tmp seem a bit "unrealistic" (just %
20 of the RAM?) for even doing common tasks:

1/ How many room should be set for a "/tmp" partition? I never had it one 
so I can't make any good estimation.

2/ Would be better to simply disable tmpfs for "/tmp"? This is how I've 
been doing all these years.

Any comments are welcome :-)

Greetings,

-- 
Camaleón


-- 
see shy jo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 828 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-sysvinit-devel/attachments/20120324/ecdb3977/attachment.pgp>


More information about the Pkg-sysvinit-devel mailing list