From users-return-157124-apmail-tomcat-users-archive=tomcat.apache.org@tomcat.apache.org Fri Jan 19 18:20:56 2007 Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 50881 invoked from network); 19 Jan 2007 18:20:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 19 Jan 2007 18:20:55 -0000 Received: (qmail 37771 invoked by uid 500); 19 Jan 2007 18:20:48 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 37550 invoked by uid 500); 19 Jan 2007 18:20:47 -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 37539 invoked by uid 99); 19 Jan 2007 18:20:47 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Jan 2007 10:20:47 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: domain of lists@nabble.com designates 72.21.53.35 as permitted sender) Received: from [72.21.53.35] (HELO talk.nabble.com) (72.21.53.35) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 19 Jan 2007 10:20:38 -0800 Received: from [72.21.53.38] (helo=jubjub.nabble.com) by talk.nabble.com with esmtp (Exim 4.50) id 1H7yLa-0002EN-6k for users@tomcat.apache.org; Fri, 19 Jan 2007 10:20:18 -0800 Message-ID: <8453881.post@talk.nabble.com> Date: Fri, 19 Jan 2007 10:20:18 -0800 (PST) From: JNeuhoff To: users@tomcat.apache.org Subject: Re: Tomcat Timeout In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: neuhoff@mhccorp.com References: X-Virus-Checked: Checked by ClamAV on apache.org > My client has observed connections to the webapp on this Apache Tomcat > server building up and not timing out but I can't see why this is. Just curious: How exactly has he observed the connections building up over the time? What does the /manager/status report for the ajp-8009 say? (Current thread count, Current thread busy, Keeped alive socket count)? Does it match up with the TCP connections involving port 8009 (or whatever you use for ajp13) for the underlying OS? (use 'netstat -a' if it is running on Windows 2003, don't know the command for Unix/Linux...) Juergen Edward Quick wrote: > > Hi, > > Could someone point me to some docs or give me some advice on Tomcat > timeouts please? There seem to be so many places to set it! > I have an Apache 2.0.59 - mod_jk 1.2.15 - jakarta-tomcat-4.1.31 server set > up, and a webapp deployed on this which opens http connections to a 3rd > party external site. > > My client has observed connections to the webapp on this Apache Tomcat > server building up and not timing out but I can't see why this is. > > These are all the places where I have found timeout settings for. > > Apache: Timeout 15 > KeepAliveTimeout 3 > > mod_jk: worker.worker1.cache_timeout=10 > worker.worker1.socket_keepalive=1 > worker.worker1.socket_timeout=10 > worker.worker1.connect_timeout=10 > worker.worker1.prepost_timeout=10 > > Tomcat server.xml: default timeout on the AJP 1.3 connector > (which > I think is 10secs) > > Tomcat web.xml: 30 > > App deployed on Tomcat: Couldn't find any timeouts set here > > > I have also tried adding these in the tomcat start up script but to no > avail: > > -Dsun.net.client.defaultConnectTimeout=10000 \ > -Dsun.net.client.defaultReadTimeout=10000 \ > > > Not sure where else I can try, so completely stuck now! Thanks for any > help. > > Ed. > > _________________________________________________________________ > Find Love This New Year With match.com! http://msnuk.match.com > > > --------------------------------------------------------------------- > 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 > > > -- View this message in context: http://www.nabble.com/Tomcat-Timeout-tf3033466.html#a8453881 Sent from the Tomcat - User mailing list archive at Nabble.com. --------------------------------------------------------------------- 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