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).
Thanks,


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

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