| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | C600bug.Txt |
PE> > JdeBP> Just use DosSetRelMaxFH to find the size of the per-process > JdeBP> file table, N, and loop from 3 to N closing all of the open > JdeBP> file handles. You can expand the table at the same time. > > That's a rather strange and brave thing for cvp to be doing. PE> Not necessarily. As you yourself have found, leaving file handles open can cause badly written child processes to run out of table space for their own file handles. PE> > Do you seriously think that they're doing that, and if so, why ? PE> My guess is that Microsoft knew of the problem in their own tools, and developed the "close all open file handles that we inherited from our parent and that we don't actually use" as a kludge to fix it. I'll bet that PWB does exactly the same as CVP does. I had to encode the same kludge into Guidelines, because the problem still exists in RC.EXE. PE> > I would have thought that device drivers were validly using those > file handles. PE> Any device driver that assumes that an arbitrary process will have a specific open file handle is badly broken. From actual experience, it's just poor device driver code. As far as I could determine, the file handle that Netware Client for OS/2 uses up is from where the device drivers are opening NET.CFG to perform boot-time configuration, and simply forgetting to close it again. They don't actually have any reason to use NET.CFG after the system has completed booting. > JdeBP < ___ X MegaMail 2.10 #0: --- Maximus/2 3.01* Origin: DoNoR/2,Woking UK (44-1483-725167) (2:440/4) SEEN-BY: 50/99 270/101 620/243 625/160 711/401 409 410 413 430 808 809 934 SEEN-BY: 711/955 712/407 515 624 628 713/317 800/1 @PATH: 440/4 141/209 270/101 712/515 711/808 934 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.