# man tmpfs
File Systems tmpfs(7FS)
[...]
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.
--
Unix System Administrator Taos - The SysAdmin Company
Got some Dr Pepper? San Francisco, CA bay area
< This line left intentionally blank to confuse you. >
-am ? 2003
> > Setup /tmp to be a real filesystem instead of tempfs ...
> Its tmpfs, Rolfie.
;)
Mr Q. Z. D.
--
Drinker, systems administrator, wannabe writer, musician and all-round bastard.
"They've got to be protected/All their rights respected ((o))
Until someone we like can be elected." - Tom Lehrer ((O))
Its whatever I say it is, L. Diablo.Quote:> > > Setup /tmp to be a real filesystem instead of tempfs ...
> > Its tmpfs, Rolfie.
> It's "it's", Tony...
-am ? 2003
>Yes there is (assuming you're using the default of a tmpfs filesystem
>for /tmp). It's mentioned somewhat in the man page..
># man tmpfs
>File Systems tmpfs(7FS)
>[...]
> 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 "limit on inodes" is really a limit on the amount of kernel memory
used to store "inodes", directory entries, and symlink targets. For
the benefit of statvfs(2) the amount of kernel memory used and the limit
are converted into an inode count by dividing by the amount used by
a regular file with a shortish name. This is what "df -t /tmp",
"df -e /tmp" etc. displays.
The other thing to bear in mind is that this usage and limit applies
to all existing tmpfs filing systems combined. In Solaris 8 or later,
for example, "df -t /tmp /var/run" will show the same inode statistics
for both filing systems.
Chris Thompson
Email: cet1 [at] cam.ac.uk
1. How to limit the use of /tmp and /var/tmp by arbitrary users
|How can I limit or disable naughty users to write large file to /tmp or
|/var/tmp?
Disk quotas?
--
------------------------------------------------------------------------
Unsolicited bulk or commercial email is not welcome. netcom.com
No warranty of any kind is provided with this message.
3. I am buying an Ultra 5 but am lost in part numbers ....
5. WARNING: /tmp: File system full, swap space limit exceeded
6. NIS+
7. Maximum file number under /tmp
9. mailx: /tmp: Bad file number
10. WARNING: /tmp: File system full, swap space limit exceeded
11. /tmp vs /usr/tmp vs /var/tmp
12. find /tmp -atime +1 | rm does not delete my old tmp files :-(
13. FILE LIMITS AIX 4.3 limits file, original config etc