lkml.org 
[lkml]   [1998]   [Sep]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: File table overflow
Hi

> I get all kind of file table overflow error messages. It is kind of
> urgent. What can I do against it. Thank's

Sorry that this is late.

> Sep 22 11:33:57 math sendmail[29062]: LAA29061: SYSERR(UID0): Can't create
> transcript file xfLAA29061: File table overflow

This message occurs (at least in the cases where I have seen it) when the
overall-system limit on filehandles is reached.

there is a limit of 256 filehandles per process, and then there is an
overall limit.

The first is difficult to change.
The latter is easy:

[oskar@cache1 logs]$ cd /etc/rc.d/
[oskar@cache1 rc.d]$ grep kernel rc.local
/bin/echo "8192" > /proc/sys/kernel/file-max
/bin/echo "32768" > /proc/sys/kernel/inode-max

On system startup, rc.local is run, and the above change the system-wide
values.

To check the maximum FD's used so far system wide, you can read the
appropriate files:

newt:/root # cat /proc/sys/kernel/file-nr
180
newt:/root # cat /proc/sys/kernel/inode-nr
624 414

You can read the limits like this:
newt:/root # cat /proc/sys/kernel/file-max
1024
newt:/root # cat /proc/sys/kernel/inode-max
3072

Oskar
---
"Haven't slept at all. I don't see why people insist on sleeping. You feel
so much better if you don't. And how can anyone want to lose a minute -
a single minute of being alive?" -- Think Twice

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

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