lkml.org 
[lkml]   [1998]   [Feb]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Kernel: File Table Overflow
Date
Please ignore, I found what I needed.  For those who are interested:

include/linux/fs.h
Changed NR_OPEN to 1024 from 256 (open number of files per process)
Changed NR_INODE to 16386 from 3072 (number of total inodes)
Changed NR_FILE to 4096 from 1024 (number of total file descriptors)

include/linux/limits.h
Changed NR_OPEN to 1024 from 256 (open number of files per process)
Changed NR_FILE to 1024 from 256 (number of file descriptors per process)

include/linux/tasks.h
Changed NR_TASKS to 2048 from 512 (max number of tasks)
Changed MIN_TASKS_LEFT_FOR_ROOT to 20 from 4 (enuff tasks to let root in, in a bad situation)

--Perry

>
> We have a *busy* mail server (PPro 200/128MB) running the 2.0.30 Kernel
> and are getting "File Table Overflow" periodically. I figure that we
> need to up the maximum file descriptors, so I grepped the source tree
> and did not find any defines like that (except UNIX_MAX_FD in net/).
> I wanted to tweak this for the 2.0.33 Kernel before putting it into
> production. What is the define for the maximum number of File descriptors,
> and where can I find more kernel tunables?
>
> Thanks,
> Perry
>
> --
> Perry Harrington Linux rules all OSes. APSoft ()
> email: perry@apsoft.com Think Blue. /\
>


--
Perry Harrington Linux rules all OSes. APSoft ()
email: perry@apsoft.com Think Blue. /\

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