Re: How to increat [sic.] max open files?

Marek Michalkiewicz (
Fri, 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 (How OpenBSD is different from other

* 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