lkml.org 
[lkml]   [1997]   [Jan]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: How to increat [sic.] max open files?
From
Date
"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 13:38    [from the cache]
©2003-2011 Jasper Spaans. Advertise on this site