[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?
    "Andrew E. Mileski" <> 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().


     \ /
      Last update: 2005-03-22 13:38    [W:0.035 / U:28.328 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site