[CentOS] tmpfs says "No space left on device"

Wed Dec 1 14:18:55 UTC 2010
Brunner, Brian T. <BBrunner at gai-tronics.com>


> -----Original Message-----
> From: centos-bounces at centos.org 
> [mailto:centos-bounces at centos.org] On Behalf Of Adam Tauno Williams
> Sent: Wednesday, December 01, 2010 9:14 AM
> To: centos at centos.org
> Subject: [CentOS] tmpfs says "No space left on device"
> I have a server where we use tmpfs as a cache for temporary 
> files used by a web application.  But occasionally this tmpfs 
> thinks it is full when it isn't.
> [root at flask-yellow tmpfs]# touch file
> touch: cannot touch `file': No space left on device 
> [root at flask-yellow tmpfs]# df -k
> Filesystem           1K-blocks      Used Available Use% Mounted on
> none                    393216     19296    373920   5% /srv/tmpfs

What does lsof show regarding file open on this device?  I'm thinking
files opened, then unlinked, but file descriptors not yet closed.
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom
they are addressed. If you have received this email in error please
notify the system manager. This footnote also confirms that this
email message has been swept for the presence of computer viruses.
www.Hubbell.com - Hubbell Incorporated**