lkml.org 
[lkml]   [1997]   [Jan]   [3]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: How to increat [sic.] max open files?
FromAndi Kleen <>
Date03 Jan 1997 21:40:39 +0100
"Andrew E. Mileski" <aem@ott.hookup.net> writes:

> > Okay! Now, how many FDs should a process be allowed to have? This has to
> 
> I'd go with 4096 file descriptors as a standard amount.
> 
> WARNING! This means a FD_SET is 512 bytes, and having 6 copies on the
> kernel stack for select() will consume 3k of the 4k. The kernel stack
> allocation must be increased.

Better allocate the fd_sets dynamically in sys_select().

-andi

\
 
 \ /
  Last update: 2005-03-22 12:38    [from the cache]
©2003-2008