On Mon, 5 Dec 2005 14:20:34 +0100 Dieter Faulbaum <[EMAIL PROTECTED]> wrote:
> > I have a small problem under Debian etch with a (vanilla) kernel > 2.6.14.3 on a AMD 64 (32-bit) system with 1GB memory: > often I see error messages about running out of file handles. > 'cat /proc/sys/fs/file-max' shows: 4096 > This seems very sparse for 1GB memory. > > Looking at Documentation/proc.txt I found this. > > ... > The value in file-max denotes the maximum number of file handles > that the Linux kernel will allocate. When you get a lot of error > messages about running out of file handles, you might want to raise > this limit. The default value is 10% of RAM in kilobytes. To change > it, just write the new number into the file: > ... > # echo 8192 > /proc/sys/fs/file-max > > Okay this works, but I don't understand why this value is so small. > Is anyone else here with such a problem and can explain why this > value is so small? > On another computer with etch (but an Intel Pentium 4 CPU) I get > 89808, which is what I expect from the docu. Maybe an obvious question, but have you checked to make sure Debian is recognizing all of your ram properly? I have an AMD Athlon XP 2200+ (32-bit) with 1GB of ram and /proc/sys/fs/file-max shows 102249. HTH, Jacob -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]