tempfs

From: Bruce Shaw (Bruce.Shaw@gov.ab.ca)
Date: Wed Mar 05 2008 - 12:05:47 EST


A user's batch job is invoking tar and generating huge temporary files
in /tmp, filling tempfs.

I've assigned oodles of swap and apparently it's still not enough.
Oddly, there's swap left, so I suspect this...

"Another constraint is that the number of files available in a tmpfs
file system is calculated based on the physical memory of the
machine and not the size of the swap device/partition. If you
have too many files, tmpfs will print a warning message and you will be
unable to create new files. You cannot increase this limit by adding
swap space."

The error message says "directory: File system full, swap space limit
exceeded".

After killing the offending process, I've got:

foo# swap -l
swapfile dev swaplo blocks free
/dev/md/dsk/d3 85,3 16 4197856 4184224
/dev/md/dsk/d17 85,17 16 4191664 4170336
/dev/md/dsk/d25 85,25 16 35368256 35262336
/dev/md/dsk/d28 85,28 16 35368256 35248560

foo# df -kl
/dev/md/dsk/d0 1018382 86305 870975 10% /
swap 42075272 391760 41683512 1% /tmp

Can tar be told to use a different temporary place to store its stuff?

Is moving /tmp someplace larger going to help? Can I do this on the
fly?

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
message contains confidential information and is intended only for the
individual named. If you are not the named addressee you should not
disseminate, distribute or copy this e-mail.
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:42:50 EDT