Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 46017 invoked from network); 2 Jan 2008 18:25:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 2 Jan 2008 18:25:35 -0000 Received: (qmail 62910 invoked by uid 500); 2 Jan 2008 18:25:13 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 61953 invoked by uid 500); 2 Jan 2008 18:25:12 -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 61942 invoked by uid 99); 2 Jan 2008 18:25:11 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Jan 2008 10:25:11 -0800 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [195.227.30.246] (HELO datura.kippdata.de) (195.227.30.246) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Jan 2008 18:25:01 +0000 Received: from [192.168.2.102] ([192.168.2.102]) by datura.kippdata.de (8.13.5/8.13.5) with ESMTP id m02IOq0U021841 for ; Wed, 2 Jan 2008 19:24:53 +0100 (CET) Message-ID: <477BD6D2.4020102@kippdata.de> Date: Wed, 02 Jan 2008 19:24:18 +0100 From: Rainer Jung User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 To: Tomcat Users List Subject: Re: Tomcat status 75 error References: <477BCC93.50306@orbisuk.com> In-Reply-To: <477BCC93.50306@orbisuk.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi Paul, Paul Beattie schrieb: > Hi, > > I have a series of relatively high transaction volume tomcat servers > which are sporadically hitting thread issues. We run with with tomcat > 4.1.27 at the current time. The behaviour we notice is after several > days of around one hundred thousand transactions our tomcat instances > hang with the catalina.out message of: > > SEVERE: All threads are busy, waiting. Please increase maxThreads or > check the servlet status75 75 > Stopping service Tomcat-Standalone > > I've done a quite a lot of reading on this and in some cases there is an > indication that moving to a later tomcat version alleviates the issue. > However in many others it indicates that this problem is due solely to > the code whereby the threads are not exiting cleanly. We have a classic > 3-tier architecture and we can see the db connections closing. I have > tired reproducing this error on a tomcat 5 environment and I get a > similar but not identical error: > > org.apache.tomcat.util.threads.ThreadPool logFull > SEVERE: All threads (15) are currently busy, waiting. Increase > maxThreads (15) or check the servlet status If all threads are busy, you can do a thread dump (kill -QUIT) for the Java process to find out, what they are actually doing. The result goes into catalina.out. A thread dump contains the full stack for each thread in the JVM. The Java process will proceed with the usual work after writing out the stacks. If all threads are busy, either the load is higher than expected, or the things your threads are doing are running slower than expected. In the stack you could see e.g. if threads are waiting for database results etc. The above message also indicates, that you have only 15 threads configured. It's quite possible, that this is a somewhat small thread pool. B.T.W.: 4.1.27 is a little old. If you need to stick with 4.1, there is 4.1.36 already. I'm not saying, that an update will help, but it could be a good general cleanup thing. > The tomcat install continues to function correctly after this has > occurred. What I would like to know is do the 2 error messages > correspond to the same underlying issue. I strongly suspect it is an > application code issue so I would like to be able to count Tomcat out of > the loop. > > Thanks, > > Paul Regards, Rainer --------------------------------------------------------------------- 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