lkml.org 
[lkml]   [1999]   [Jul]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: too many open files?
Date
From
> how can I increase the number of file descriptors in kernels 2.0.36 and 2.2.x?
>
> in the FAQ I only found "various patches exist" and "this may break select(2)"...
> (I just got a realy ugly breakdown due to 'too many open files' on my server when expiring news and doing various other things...

If its one process running out of its fd allocation:

2.0.x you get the 3000fd patch from www.kernelnotes.org or similar places.
For 2.2.x if you get the ac patches you get the ability to run large arrays
per process. The select and other stuff applies.

If (as I suspect) its over the system, you stick bigger numbers into
/proc/sys/file-max and /proc/sys/inode-max and you don't have to worry about
anything else

Alan


-
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:52    [W:0.043 / U:0.316 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site