lkml.org 
[lkml]   [1997]   [Jan]   [3]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
From(Marek Michalkiewicz)
SubjectRe: How to increat [sic.] max open files?
DateFri, 3 Jan 1997 23:28:38 +0100 (MET)
Richard B. Johnson:
> Okay! Now, how many FDs should a process be allowed to have? This has to
> be defined by a rule, not a good rule, not a bad rule, but simply a rule!

Ideally, any number (limited by RLIMIT_NOFILE and available memory).
I know there is a problem with select(), but it _can_ be done.  From
http://www.openbsd.org/plus.html (How OpenBSD is different from other
*BSD's):

     * select() that can handle any amount of file descriptors.

I don't know how they implemented it, but someone might want to take
a look at it.  If OpenBSD can do it, so should Linux.

> I think we need ANSI or POSIX or some such "committee" to make such a rule.

I think POSIX only specifies absolute minimum, 20 or something like
that.

Marek

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