From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lucio De Re To: 9fans@cse.psu.edu Subject: Re: [9fans] opendir/closedir in CVS sources Message-ID: <20020108185830.C12098@cackle.proxima.alt.za> References: <20020108164758.350DA19A63@mail.cse.psu.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <20020108164758.350DA19A63@mail.cse.psu.edu>; from rob pike on Tue, Jan 08, 2002 at 11:47:55AM -0500 Date: Tue, 8 Jan 2002 18:58:31 +0200 Topicbox-Message-UUID: 3c01de02-eaca-11e9-9e20-41e7f4b1d025 On Tue, Jan 08, 2002 at 11:47:55AM -0500, rob pike wrote: > > > Is it likely that APE closedir() does not release the FD? > > Not very. > My conclusion, too. What could the explanation be, then? I see things like: Opened dir '.' as 5 N test/mkfile succeeded to close dir 5 8.out import: Importing /n/other/sys/cvs/test/9 Opened dir '.' as 6 N /test/9/mkfile succeeded to close dir 6 8.out import: Importing /n/other/sys/cvs/test/9/boot Opened dir '.' as 7 ... from my debugging output. One consideration is that these are freshly created directories, presumably following a mkdir/chdir operation. I _do_ run out of FDs around 100. ++L