Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 28176 invoked from network); 12 Feb 2010 21:10:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 12 Feb 2010 21:10:40 -0000 Received: (qmail 73938 invoked by uid 500); 12 Feb 2010 21:10:35 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 73859 invoked by uid 500); 12 Feb 2010 21:10:35 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 73848 invoked by uid 99); 12 Feb 2010 21:10:35 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Feb 2010 21:10:35 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of aw@ice-sa.com designates 212.85.38.228 as permitted sender) Received: from [212.85.38.228] (HELO tor.combios.es) (212.85.38.228) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 12 Feb 2010 21:10:27 +0000 Received: from localhost (localhost [127.0.0.1]) by tor.combios.es (Postfix) with ESMTP id 4A35A2260B0 for ; Fri, 12 Feb 2010 22:10:06 +0100 (CET) Received: from tor.combios.es ([127.0.0.1]) by localhost (tor.combios.es [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id aq3wH+q6-r8Z for ; Fri, 12 Feb 2010 22:10:06 +0100 (CET) Received: from [192.168.245.129] (p549EB2BF.dip0.t-ipconnect.de [84.158.178.191]) by tor.combios.es (Postfix) with ESMTPA id E86C52260AC for ; Fri, 12 Feb 2010 22:10:05 +0100 (CET) Message-ID: <4B75C38F.1020207@ice-sa.com> Date: Fri, 12 Feb 2010 22:09:35 +0100 From: =?ISO-8859-1?Q?Andr=E9_Warnier?= Reply-To: Tomcat Users List User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: Tomcat Users List Subject: Re: Tomcat dies suddenly References: <027c01caa11c$d2826e80$6a00a8c0@dan> <034b01caabdd$cc4f1f60$6a00a8c0@dan> <4B757007.6010303@christopherschultz.net> <4B7578A3.5060401@christopherschultz.net> <035d01caac19$665a6340$6a00a8c0@dan> <4B75B0CD.5000209@ice-sa.com> <047c01caac21$7019d5c0$6a00a8c0@dan> <4B75BB58.3080109@ice-sa.com> <050a01caac24$66cfe060$6a00a8c0@dan> <6d6af3ba1002121300v6b0d24cp7bca17cdffeaacc1@mail.gmail.com> In-Reply-To: <6d6af3ba1002121300v6b0d24cp7bca17cdffeaacc1@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Donn Aiken wrote: ... For each > leaked connection, we had an open file descriptor that never went away, > until the process went away. If memory serves, we finally found it by > looking at entries in /proc/{pid of jvm}/fd, doing a bunch of find . | wc > and watching that over time. > As another flash, another utility that may be of help here is "lsof". Just the list of options is scary and it takes an engineering degree to handle, but the least it can do is show you which sockets, files and such things are used by what. As a command-line tool, it is easy to write a small shell script with a loop calling lsof every 15 seconds e.g., dumping the result to a file which you could examine when your Tomcat goes boom. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org