From owner-freebsd-java@FreeBSD.ORG Mon Feb 1 23:04:47 2010 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C78ED1065670 for ; Mon, 1 Feb 2010 23:04:47 +0000 (UTC) (envelope-from jan.grant@bristol.ac.uk) Received: from dirg.bris.ac.uk (dirg.bris.ac.uk [137.222.10.102]) by mx1.freebsd.org (Postfix) with ESMTP id 861A98FC0A for ; Mon, 1 Feb 2010 23:04:47 +0000 (UTC) Received: from mail.ilrt.bris.ac.uk ([137.222.16.62]) by dirg.bris.ac.uk with esmtp (Exim 4.69) (envelope-from ) id 1Nc5Jy-0005j2-Nr; Mon, 01 Feb 2010 23:04:46 +0000 Received: from cse-jg.cse.bris.ac.uk ([137.222.12.37]:29164) by mail.ilrt.bris.ac.uk with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from ) id 1Nc5Jm-0006CJ-Vj; Mon, 01 Feb 2010 23:04:31 +0000 Date: Mon, 1 Feb 2010 23:04:30 +0000 (GMT) From: jan.grant@bristol.ac.uk X-X-Sender: cmjg@tribble.ilrt.bris.ac.uk To: =?KOI8-R?B?98HMxc7Uyc4g8M/Qz9c=?= In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-ILRT-MailScanner: Found to be clean X-ILRT-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-3.478, required 5, autolearn=not spam, ALL_TRUSTED -1.80, AWL 0.92, BAYES_00 -2.60) X-ILRT-MailScanner-From: jan.grant@bristol.ac.uk X-Spam-Status: No X-Spam-Score: -0.8 X-Spam-Level: / Cc: freebsd-java@freebsd.org Subject: Re: to many opened files X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Feb 2010 23:04:47 -0000 On Tue, 26 Jan 2010, ???????? ????? wrote: > I running reindex programm it's reindex about 60 000 000 emails with > attachments and else.... > Anybody get this issue? anybody use JAVA on production servers? If you're seeing different behaviours on different platforms from ostensibly the same Java version, this maywell be due to (1) differing GC settings, and (2) the program leaking file descriptors. It's an error to rely on garbage collection to manage any resource except memory, but it does occasionally happen. There are a few tools available that let you examine objects on the heap; perhaps your reindexer is failing to properly dispose of file objects. -- jan grant, ISYS, University of Bristol. http://www.bris.ac.uk/ Tel +44 (0)117 3317661 http://ioctl.org/jan/ I'm the dandy information superhighwayman.