W3C home > Mailing lists > Public > www-jigsaw@w3.org > September to October 2002

Re: Number of open files

From: Yves Lafon <ylafon@w3.org>
Date: Thu, 5 Sep 2002 12:09:50 +0200 (MET DST)
To: "Vicini, Victor M" <victor.vicini@eds.com>
cc: "'www-jigsaw@w3.org'" <www-jigsaw@w3.org>
Message-ID: <Pine.GSO.4.44.0209051208340.12839-100000@tarantula.inria.fr>

On Tue, 6 Aug 2002, Vicini, Victor M wrote:

> I am getting a very similar error on our UNIX box. I have a servlet that
> writes to a txt file via JRUN and I
> am getting (Too many open files). How do I fix this ? Is there a fix I can
> put into the servlet that will close the
> file after it's use or is there something that needs to be done on the
> server.

limit descriptors #maxnum
Also you should check that your servlet is releasing the file handles,
either by GC or directly (the latter is preferred as you never know when
the GC will kick in).

Yves Lafon - W3C
"Baroula que barouleras, au tiéu toujou t'entourneras."
Received on Thursday, 5 September 2002 06:09:55 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:25:38 UTC