lkml.org 
[lkml]   [1996]   [Mar]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: File table overflow.. :-)
Hi,

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.



\
 
 \ /
  Last update: 2005-03-22 13:36    [W:0.054 / U:0.376 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site