home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / os / coherent / 3866 < prev    next >
Encoding:
Internet Message Format  |  1992-08-20  |  1.3 KB

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