number of simultaneously open (buff

aglew at urbsdc.UUCP aglew at urbsdc.UUCP
Thu May 19 08:23:00 AEST 1988


>>I am just curious:
>>What is the maximum number of simultaneously open buffered files
>>under aux? Can it be changed?
>
>Well, in A/UX we chose to have as many open file descriptors (and hence
>open buffered files) as possible. The select system call, in a way,
>set a "reasoable" limit of 32 files. Thus, you can have up to 32
>file descriptors (and 32 buffered files) open. Actually 29 when you
>remember that stdin, stdout, and stderr are already open. Yes, it can be
>changed - increasing it will make it hard for select to work :-).

BSD 4.3 select uses an array, so that the size of an int is
not a limit on the number of open file descriptors.



More information about the Comp.unix.aux mailing list