W3C home > Mailing lists > Public > www-jigsaw@w3.org > May to June 1997

Re: Number of open files

From: Anselm Baird_Smith <abaird@www43.inria.fr>
Date: Thu, 5 Jun 1997 14:47:47 +0200 (MET DST)
Message-Id: <199706051247.OAA01671@www43.inria.fr>
To: mike@imsi.com
Cc: Shawn McMurdo <shawnm@sco.COM>, www-jigsaw@w3.org
Michael Stolz writes:
 > Shawn McMurdo wrote:
 > > 
 > > Hi all,
 > > I am wondering if it is normal for the server to have a
 > > large number of file descriptors open simultaneously and
 > > if it actually closes them when it is done with them.
 > > 
 > 
 > I've noticed when running Jigsaw on Windows/NT that once it
 > has served up a '.shtml' file, I can no longer edit that
 > file because when I try to save it, I get a message box
 > indicating that some other program has it open. My guess is
 > that Jigsaw isn't closing '.shtml' files when it's done reading
 > them.

Me again, sorry, I haven't tested it but:
w3c.jigsaw.ssi.SSIStream.java: line 65

	in = null ;
	if(SSIResource.debug)
	    System.out.println("@@@@ no more segments") ;
	return false ;

should probably read:

	in = null ;
        try { file.close() } catch (Exception ex) {}
	if(SSIResource.debug)
	    System.out.println("@@@@ no more segments") ;
	return false ;

Anselm.
Received on Thursday, 5 June 1997 08:48:56 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 9 April 2012 12:13:26 GMT