home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / database / oracle / 2576 < prev    next >
Encoding:
Internet Message Format  |  1992-12-21  |  2.0 KB

  1. Path: sparky!uunet!psinntp!ncrlnk!ncrsoph!tdonnell
  2. From: tdonnell@ncrsoph.Sophia.NCR.COM (Tom Donnelly)
  3. Newsgroups: comp.databases.oracle
  4. Subject: Re: Too many open files
  5. Keywords: open files
  6. Message-ID: <4203@ncrsoph.Sophia.NCR.COM>
  7. Date: 18 Dec 92 10:10:06 GMT
  8. References: <1992Dec17.143430.12081@cbfsb.cb.att.com>
  9. Reply-To: tdonnell@ncrsoph.Sophia.NCR.COM (Tom Donnelly)
  10. Organization: NCR European Development Center
  11. Lines: 36
  12.  
  13. In article <1992Dec17.143430.12081@cbfsb.cb.att.com> gerette@cbnewsb.cb.att.com (marianne.g.pittorino) writes:
  14. >
  15. >Hi all!
  16. >
  17. >I am running RDBMS V6.0.36.0.1 and Pro*C precompiler 1.4.8.2.2 on a Pyramid
  18. >(Release 2 UNIX).  I have an embedded SQL 'C' process that runs all day,
  19. >processing updates to our database.  The process frequently executes a system
  20. >call to SQL*Loader to load in bulk updates.
  21. >
  22. >It seems as if sqlload is not closing its files.  After about 100 calls or so
  23. >(the number is not constant), I start getting the following error:
  24. >    SQL*Loader-500:  Unable to open file (filename)
  25. >    Pyramid UNIX Error: 24: Too many open files
  26.  
  27. < stuff deleted >
  28.  Hi,
  29.     I believe ( but am not 100% sure ) that there is a maximum number of
  30.     file descriptors that can be assigned to a process, and that even
  31.     though you are closing your files, each successive open() call 
  32.     increments that file descriptor counter.  You may want to try re-
  33.     using the file descriptors instead of performing explicit
  34.     open() close() open() sequences.
  35.  
  36.     Anyway, thats my .02.  Any UNIX Gurus out there know for sure?
  37.  
  38. Tom
  39. --------------------------------------------------------------------------------
  40. These views are my own and do not represent those of my company.
  41. No gaurantee, implied or other, unless specified by law. Details on back.
  42. --------------------------------------------------------------------------------
  43. Tom Donnelly               | WIN: Tom.Donnelly@Sophia
  44. NCR Europe Group ISS       | UUCP: ..ncrcom!ncrsoph!tdonnell
  45. Sophia Antipolis, Valbonne |                              
  46. France               | TEL: 33-92 94 45 40
  47.  
  48.  
  49.