Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@jakarta.apache.org Received: (qmail 4796 invoked by uid 500); 17 Aug 2001 15:30:55 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk Reply-To: tomcat-user@jakarta.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 4781 invoked from network); 17 Aug 2001 15:30:55 -0000 Received: from dnai-216-15-97-206.cust.dnai.com (HELO betaversion.org) (216.15.97.206) by h31.sny.collab.net with SMTP; 17 Aug 2001 15:30:55 -0000 Received: from [217.158.18.124] ([217.158.18.124]) by betaversion.org (8.9.3+Sun/8.9.3) with ESMTP id IAA21321 for ; Fri, 17 Aug 2001 08:30:54 -0700 (PDT) User-Agent: Microsoft-Entourage/9.0.2509 Date: Fri, 17 Aug 2001 16:30:57 +0100 Subject: Re: How can I find number of 'open files' From: "Pier P. Fumagalli" To: Message-ID: In-Reply-To: Mime-version: 1.0 X-Priority: 2 Organization: Apache Software Foundation Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N Ivan Markovic at ivan@sculptlight.com wrote: > I had a problem a while back with 'too many open files'. So I checked > and fix some bugs in my code and increased the limit (Solaris running > on Sun Netra T1). But now the problem is back. I suspect it is a > problem with my code. > > How can I find out how many files are 'open'? If I can track that > number then I can hit my code through Tomcat and see roughly when the > files are not being closed. Is there some Unix function that will > allow me to monitor open files? Just a curiosity... What Tomcat version are you using? Pier