Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!brutus.cs.uiuc.edu!ux1.cso.uiuc.edu!iuvax!watmath!mks.com!andy From: andy@mks.com (Andy Toy) Newsgroups: comp.sys.ibm.pc Subject: Re: More than 15 files open Message-ID: <1989Dec18.164450.3079@mks.com> Date: 18 Dec 89 16:44:50 GMT References: <1989Dec17.150044.18175@axion.bt.co.uk> <5831@eos.UUCP> Reply-To: andy@mks.com (Andy Toy) Organization: Mortice Kern Systems, Waterloo, Ontario, Canada Lines: 20 In article <5831@eos.UUCP> woody@eos.UUCP (Wayne Wood) writes: >why not put >FILES=20 >in you config.sys file? Because all it does it change that total number of files that can be opened and not the number of files that each programme can have open. Consider that a programme opens ten files and then spawns another programme that tries to open more files. The total number of files that can be opened will be 20 and not 20 files for each programme. The ``FILES='' cannot give more than 20 files for each programme. The limit is 20 files for each programme, but stdin, stdout, stderr, stdaux, stdprn are automatically open so that leaves each programme with 15 files maximum. You could close stdaux and stdprn for two extra files. -- Andy Toy, Mortice Kern Systems Inc., Internet: andy@mks.com 35 King Street North, Waterloo, UUCP: uunet!watmath!mks!andy Ontario, CANADA N2J 2W9 Phone: 519/884-2251 FAX: 519/884-8861