Return-Path: X-Original-To: apmail-tomcat-users-archive@www.apache.org Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8B2EE9B71 for ; Sat, 14 Jan 2012 01:59:13 +0000 (UTC) Received: (qmail 32249 invoked by uid 500); 14 Jan 2012 01:59:09 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 32098 invoked by uid 500); 14 Jan 2012 01:59:08 -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 32089 invoked by uid 99); 14 Jan 2012 01:59:08 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 14 Jan 2012 01:59:08 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of aganguly@gmail.com designates 209.85.215.45 as permitted sender) Received: from [209.85.215.45] (HELO mail-lpp01m010-f45.google.com) (209.85.215.45) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 14 Jan 2012 01:59:01 +0000 Received: by lags15 with SMTP id s15so872839lag.18 for ; Fri, 13 Jan 2012 17:58:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=+K9JjysxcnTg9UXBWxEOyUZPh9/KVKUSIsuW2coBN0U=; b=rSL/P3sDUjGp2Zxf6NncMQRGG61Ai+/66tr5O59svgvki3Az2sOxhuhH3pXWjn5ac5 XhLHMRmS4Ge6Bc/dBsbiwTOQoaB3ucCFohOuNcJQ5F1Fn31M5nnd2uaUmKpTaZv8mrIS QHSLe8ESc9aA9FoSaNyBkw160tlNPVod/jgck= MIME-Version: 1.0 Received: by 10.152.113.101 with SMTP id ix5mr1603039lab.16.1326506321140; Fri, 13 Jan 2012 17:58:41 -0800 (PST) Received: by 10.112.21.35 with HTTP; Fri, 13 Jan 2012 17:58:41 -0800 (PST) In-Reply-To: References: <4F037086.8020901@apache.org> Date: Fri, 13 Jan 2012 17:58:41 -0800 Message-ID: Subject: Re: 7.0.22+ fd leak with APR/native From: Arijit Ganguly To: Tomcat Users List Content-Type: multipart/alternative; boundary=f46d0408d9231059b204b6735263 X-Virus-Checked: Checked by ClamAV on apache.org --f46d0408d9231059b204b6735263 Content-Type: text/plain; charset=ISO-8859-1 I am curious to know if this leak is related to unix sockets, or the IPv6 file handles. I have seen a similar issue with the NIO HTTP handler, where it does not close some connections properly and they incarnate as file handles corresponding to unix sockets (all pointing to same inode number). Even 7.0.21 has problems. Thanks, Arijit On Fri, Jan 13, 2012 at 4:24 PM, Mike Wertheim wrote: > Has a bug been logged for this issue (what seems to be a file descriptor > leak)? > > On Tue, Jan 3, 2012 at 1:17 PM, Mark Thomas wrote: > > I am trying to bring together all the information I have gleaned on this > > so far from the multiple threads to try and find the common factors. > > > > So far I have: > > - 7.0.21 is OK > > - 7.0.22 has an fd leak > > - 7.0.23 has an fd leak and may leak faster than 7.0.22 > > - occurs with APR/native > > - does not occur with BIO > > - has been observed in HTTP & HTTPS > > - use of Comet does not trigger it > > - use of compression does not trigger it > > - separate connection and keep-alive timeouts does not trigger it > > > > It may be related to POST processing. > > > > I have tried (and so far failed) to reproduce this. I'll be looking at > > POST processing next. In the meantime, here are some further questions > > to try and narrow things down: > > > > 1. Does the application where this is observed make use of Servlet 3.0 > > async requests? > > > > 2. Does this leak occur when the NIO connector is used? > > > > 3. Are there any exceptions in the logs that weren't present in 7.0.21 > > or earlier? > > > > 4. Does the leak occur if sendfile is disabled? > > > > I also have reviewing the 7.0.21 to 7.0.22 changes on my todo list but > > there are quite a few as I was refactoring the connectors to reduce code > > duplication and ironically, reduce maintenance requirements, at the time. > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org > > For additional commands, e-mail: users-help@tomcat.apache.org > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org > For additional commands, e-mail: users-help@tomcat.apache.org > > --f46d0408d9231059b204b6735263--