Article View: comp.os.os2.programmer
Article #952Re: 1.3 and file handle limit?
From: BJ Hargrave
Date: Thu, 10 Sep 1992 20:47
Date: Thu, 10 Sep 1992 20:47
26 lines
1714 bytes
1714 bytes
In <cDaVqB3w165w@sps.pgh.pa.us> Kevin J. Slater writes: >Is there a limit to the number of available file handles under OS/2 1.3? >I have a developer I'm working with who is getting an error message that >points to no more available file handles from an app he is developing >under v1.3. Any comments? > >...Kevin > >- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - >Kevin J. Slater (kslater@sps.pgh.pa.us) | Believe in the Lord Jesus >Slater Programming Services | CI$ 73077,2427 | and you will be saved - you & >Glenshaw, PA 15116-0027 | bix kslater | your household. - Acts 16:31 >- - - - - - - - - - - - WESPAC BBS (412) 487-3637 - - - - - - - - - - - - - - > I believe there is a system limit of ~64k handles and a per process limit of ~32k. However, the default per process limit is 20 handles. This can be increased (but not decreased) with DosSetMaxFH for the life of the process. All newly created children of the process also inherit this increased number of file handles. Additional some C compilers have a limit of 20 fopen's which can only be increase by recompiling the C runtime initialization code. ----------------------------------------------------------------------- BJ Hargrave Internet: fattire@vnet.ibm.com Boca Raton, FL IBMIPNet: bjhar@bjhar.bocaraton.ibm.com
Technical Details
Message-ID:
<19920910.135230.219@almaden.ibm.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!vnet.ibm.comReferences:
<cDaVqB3w165w@sps.pgh.pa.us>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!vnet.ibm.com From: fattire@vnet.ibm.com (BJ Hargrave) Message-ID: <19920910.135230.219@almaden.ibm.com> Date: Thu, 10 Sep 92 16:47:05 EDT Newsgroups: comp.os.os2.programmer Subject: Re: 1.3 and file handle limit? News-Software: UReply 3.0 References: <cDaVqB3w165w@sps.pgh.pa.us> Lines: 26