On Sun, 3 Mar 1996 21:39:49 -0500 (EST), Jared Mauch
<jared@wolverine.hq.cic.net> said:
> I periodically fill up the file table on my system, and get
> these errors:
> Unable to load interpreter
> Is there someplace where I can #ifdef to make more file descriptors?
> Other ideas of what I can do? Thanks!
There are #define's for both the maximum number of files and inodes in
linux/include/linux/fs.h. On 1.3.57 and later kernels, these limits
can be modified at run time:
----
$ ls /proc/sys/kernel/
domainname file-nr inode-max osrelease securelevel
file-max hostname inode-nr ostype version
$
----
The files /proc/sys/kernel/inode-max and .../file-max contain (in
normal ascii decimal) the current limits on inodes and files, and
these files may be written by root. So, you could put
echo 4096 > /proc/sys/kernel/file-max
in your startup scripts.
Cheers,
Stephen.
-- Stephen Tweedie <sct@dcs.ed.ac.uk> Department of Computer Science, Edinburgh University, Scotland.