Path: utzoo!utgpu!water!watmath!clyde!bellcore!faline!thumper!ulysses!andante!mit-eddie!bu-cs!purdue!i.cc.purdue.edu!j.cc.purdue.edu!pur-ee!uiucdcs!uxc.cso.uiuc.edu!urbsdc!aglew From: aglew@urbsdc.UUCP Newsgroups: comp.unix.aux Subject: Re: number of simultaneously open (buff Message-ID: <45600001@urbsdc> Date: 18 May 88 22:23:00 GMT References: <5828@uwmcsd1.UUCP> Lines: 14 Nf-ID: #R:uwmcsd1.UUCP:5828:urbsdc:45600001:000:653 Nf-From: urbsdc.Urbana.Gould.COM!aglew May 18 17:23:00 1988 Posted: Wed May 18 18:23:00 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.