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

Re: Number of open files

From: Christoph Begall <begall@nads.de>
Date: Thu, 05 Jun 1997 17:07:15 +0000
Message-ID: <3396E433.6A18@nads.de>
To: Anselm Baird-Smith <abaird@w3.org>
CC: www-jigsaw@w3.org
Anselm Baird_Smith wrote:
> 
> 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.
This ones seems to help.

Thanks,
	Christoph.

-- 
Christoph Begall                begall@NADS.de
NADS GmbH                       NADS - Advertising on Nets
Otto-Hahn-Str. 18               Tel.:  +49 231 975 123-0
D-44227 Dortmund                http://www.nads.de/
Received on Thursday, 5 June 1997 11:08:20 GMT

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