W3C home > Mailing lists > Public > www-jigsaw@w3.org > March to April 1999

Re: jigsaw problem with servlets and ServletException...

From: Benoit Mahe <Benoit.Mahe@sophia.inria.fr>
Date: Thu, 18 Mar 1999 10:11:19 +0100
Message-ID: <36F0C337.84CA4C2D@sophia.inria.fr>
To: Jeff Van Epps <lordbah@lordbah.com>
CC: www-jigsaw@w3.org
Ok, it seems to be a bug, I have to find it.

Regards, Benoit.

Jeff Van Epps wrote:

> I had a too many open files exception today. But my servlet does out.close()
> at the end of doGet(). I ran /usr/proc/bin/pfiles on the java executable and
> saw that many of the currently open files are .shtml files - in fact the
> same
> set of files are open many times. I found some messages in the archives from
> June 1998 about .shtml and too many open files - is there a known problem
> still lingering in Jigsaw 2.0.1? (My .shtml files use #include as the only
> SSI command; they do not include any Java or servlet calls; the servlet I
> refer to above was used to get _to_ the .shtml file, it's not part of it)
>
> The process currently has 41 open descriptors out of a limit of 64. Okay,
> the limit should be higher. Still, why is Jigsaw keeping multiple
> descriptors
> open on the same file? (even long after the page has been served and the
> client has gone away)
>
> Roland Mainz wrote:
> > I figured out a problem with jigsaw and servlets:
> >
> > If a servlet does not .close() the output stream, jigsaw seems to run
> > out of open files
> > after some - ähm - xxxx service cycles. This problem mainly occurs if a
> > servlet
> > throws a ServletException (or any other Exception); and some other
> > servlet examples
> > simply missing a .close() statement.
>
> --
> Jeff Van Epps  lordbah@lordbah.com

--
- Benoît Mahé -------------------------------------------------------
                      World Wide Web Consortium (W3C)
                    Architecture domain - Jigsaw Team

  http://www.w3.org/People/Mahe - bmahe@w3.org - +33.4.92.38.79.89
---------------------------------------------------------------------
Received on Thursday, 18 March 1999 04:11:57 GMT

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