home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!cs.utexas.edu!uwm.edu!ogicse!pdxgate!eecs!kirkenda
- From: kirkenda@eecs.cs.pdx.edu (Steve Kirkendall)
- Newsgroups: comp.os.coherent
- Subject: Re: Opening more than 14 files with fopen() under 4.0
- Message-ID: <6010@pdxgate.UUCP>
- Date: 20 Aug 92 17:57:47 GMT
- Article-I.D.: pdxgate.6010
- References: <1992Aug13.175659.3085@miles.com> <1992Aug14.210250.19477@uswmrg.mrg.uswest.com.mrg.uswest.com>
- Sender: news@pdxgate.UUCP
- Distribution: usa
- Lines: 17
-
- chris@engineer.mrg.uswest.com (Chris Fedde) writes:
-
- >In article <1992Aug13.175659.3085@miles.com> geis@miles.com (Jerry Geis) writes:
- >>I cannot believe UNIX would have such a limitation! I thought
- >>UNIX was better than DOS. Has anyone got a solution to fopen()'ing
- >>more than 14 files in coherent 4.0?
-
- >To this day SYSV only allows 20 file handles per process. There are neat ways
- >of working around this thouugh. For example keep a LRU list of files you want
- >to access.
-
- Actually, SysV is usually limited to 60 fds per process, but you can change
- that limit via a kernel tuning parameter called NOFILES.
-
- Coherent is limited to 20 fds per process, and there's no way to change it.
- ------------------------------------------------------------------------------
- Steve Kirkendall kirkenda@cs.pdx.edu Grad student at Portland State U.
-