Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 46036 invoked from network); 28 Nov 2007 19:04:07 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 28 Nov 2007 19:04:07 -0000 Received: (qmail 41430 invoked by uid 500); 28 Nov 2007 19:03:43 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 40986 invoked by uid 500); 28 Nov 2007 19:03:42 -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 40975 invoked by uid 99); 28 Nov 2007 19:03:42 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Nov 2007 11:03:42 -0800 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 shakahshakah@gmail.com designates 64.233.166.183 as permitted sender) Received: from [64.233.166.183] (HELO py-out-1112.google.com) (64.233.166.183) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Nov 2007 19:03:22 +0000 Received: by py-out-1112.google.com with SMTP id a25so3526000pyi for ; Wed, 28 Nov 2007 11:03:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=XwegBEDoq8XRvtpIzXwxmugR0yohBanKGroNHOKVGvI=; b=cR2CSc3KuwRqwgMJJ62VnwdgG8NowxtMPrGwd2Wf8CLGCeM4wnuQxYjVVJoLc4O1TXVDDMxH3VR7v8sW1XYGSKBZbtMVzQfeW8g7bq++orLJVsJj6WKE+PtV1AsqkLa6RImid08Raekc+Ta9bevTStLTss/k90XLCbJCLLcVWD0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=pFtHKTBvdxifpzcSPt1aVRyVrjdxwI+HXMhybHfJbx6g6TbEv8A3RWodRCmqYBJ1uG+rKOaeLwGb+g520oRW0qrCDqDt3akHO/+fk2aGliNq4Eol9G0vo1gX9BlPOxzmICNvHQ4SBZHwfgqgT5DFYIViUP4lxbdQydwMjla2Iwc= Received: by 10.64.241.3 with SMTP id o3mr13073424qbh.1196276591626; Wed, 28 Nov 2007 11:03:11 -0800 (PST) Received: by 10.65.75.5 with HTTP; Wed, 28 Nov 2007 11:03:11 -0800 (PST) Message-ID: Date: Wed, 28 Nov 2007 14:03:11 -0500 From: "Jim Cox" To: "Tomcat Users List" Subject: Re: Tomcat hangs on writing JSP page to socket In-Reply-To: <3c512fce0711281050k5cf8971bo1c903aeeee1a83c3@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <3c512fce0711281046i2b3b0193l437eb0c9873e760b@mail.gmail.com> <3c512fce0711281050k5cf8971bo1c903aeeee1a83c3@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org On Nov 28, 2007 1:50 PM, Adam Feuer wrote: > Folks, > > We're getting intermittent problems where one tomcat thread hangs for up to > 10 minutes writing JSP pages to a socket. We think the socket is an HTTP TCP > socket. The stack trace from a thread dump for the hung thread is below. > > This happens multiple times per day at seemingly random intervals. We have > not been able to reproduce this reliably and has been happening for as long > as we have data (6+ months), so doesn't seem to be tied to a specific recent > change. > > We run Struts 1.35, Tomcat 5.5.9, Linux 2.4.21 (Redhat) on four boxes behind > a Netscaler load balancer. All boxes exhibit the same problem at different > random intervals. > > Has anyone seen this problem? If so, do you know of a fix? > > -adam FWIW, I've noticed similar behavior, but in my case it is easy to reproduce: 1. use a browser to request a long-running and/or large-page-producing web page ; 2. abort the page load before it is done. At that point I see the HTTP response thread blocked writing to the (now closed) socket, with it timing out TCP-wise in about 8 min (Solaris box, Tomcat 5.0.19, JDK 1.4.2_13). --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org