Messages in this thread |  | | From | (Alan Cox) | Subject | Re: How to increat [sic.] max open files? | Date | Fri, 3 Jan 1997 20:32:40 +0000 (GMT) |
| |
> 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! > I think we need ANSI or POSIX or some such "committee" to make such a rule. > ... even though I hate committees.
POSIX specifies how you check how many are available on a system. It doesn't place limits. Since POSIX spans embedded OS's up to massive mainframes it can't. The ideal answer is 'as many as you need'. That needless to say means having FD_* macros for select that do something like build linked lists.
Alan
|  |