home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!mips!pacbell.com!att!ucbvax!UV4.EGLIN.AF.MIL!MOOREMJ
- From: MOOREMJ@UV4.EGLIN.AF.MIL ("Martin J. Moore, TYBRIN, 882-9793")
- Newsgroups: comp.os.vms
- Subject: RE: Help wanted : Running out of ENQLM
- Message-ID: <9207220301.AA13863@ucbvax.Berkeley.EDU>
- Date: 21 Jul 92 20:58:00 GMT
- Sender: daemon@ucbvax.BERKELEY.EDU
- Distribution: world
- Organization: The Internet
- Lines: 20
-
- >
- >We have COBOL programs which run out of ENQLM very quickly.
- >
- >I know that ENQLM is the number of locks you can have queued at any
- >one time, and that file i/o can use locks. But I don't really know
- >much more than that, and I would like to understand what is going on.
- >
- >1. What else besides file i/o uses locks ? I imagine there are operating
- > system tables which require locks ?
- >
-
- Are your programs opening many files for shared access? When files are
- shared, locking must be performed at the record level instead of the file
- level, resulting in a many-fold increase in the number of locks needed.
- One of our users had exactly this problem -- although not to the high
- number you describe.
- Marty Moore
- mooremj@uv4.eglin.af.mil
-
-
-