Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 37064 invoked from network); 17 Sep 2009 17:39:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 17 Sep 2009 17:39:36 -0000 Received: (qmail 52877 invoked by uid 500); 17 Sep 2009 17:39:32 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 52831 invoked by uid 500); 17 Sep 2009 17:39:32 -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 52820 invoked by uid 99); 17 Sep 2009 17:39:32 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Sep 2009 17:39:32 +0000 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 [192.61.61.105] (HELO usea-naimss3.unisys.com) (192.61.61.105) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Sep 2009 17:39:20 +0000 Received: from usea-nagw2.na.uis.unisys.com ([129.224.72.18]) by usea-naimss3 with InterScan Message Security Suite; Thu, 17 Sep 2009 12:38:58 -0500 Received: from usea-nagw2.na.uis.unisys.com ([129.224.72.53]) by usea-nagw2.na.uis.unisys.com with Microsoft SMTPSVC(6.0.3790.3959); Thu, 17 Sep 2009 12:38:57 -0500 Received: from usea-nahubcas2.na.uis.unisys.com ([129.224.76.115]) by usea-nagw2.na.uis.unisys.com with Microsoft SMTPSVC(6.0.3790.3959); Thu, 17 Sep 2009 12:38:57 -0500 Received: from USEA-EXCH8.na.uis.unisys.com ([129.224.76.42]) by usea-nahubcas2.na.uis.unisys.com ([129.224.76.115]) with mapi; Thu, 17 Sep 2009 12:38:56 -0500 From: "Caldarale, Charles R" To: Tomcat Users List Date: Thu, 17 Sep 2009 12:38:54 -0500 Subject: RE: Object.Wait() in thread dumps... Thread-Topic: Object.Wait() in thread dumps... Thread-Index: Aco3vHRN89TKvCaKQEyhCqKxbNXZzwAADWTQ Message-ID: <99C8B2929B39C24493377AC7A121E21F83EE8705D0@USEA-EXCH8.na.uis.unisys.com> References: <25492105.post@talk.nabble.com> In-Reply-To: <25492105.post@talk.nabble.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginalArrivalTime: 17 Sep 2009 17:38:57.0552 (UTC) FILETIME=[BBF98900:01CA37BD] X-Virus-Checked: Checked by ClamAV on apache.org > From: keeplearning [mailto:p_sodhani@yahoo.com] > Subject: Object.Wait() in thread dumps... >=20 > I took the thread dumps and I see most threads are waiting on > "Object.Wait" as follows: >=20 > at java.lang.Object.wait(Native Method) > at java.lang.Object.wait(Object.java:474) at > org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPoo > l.java:661) > - locked [0x00002aaac91012b0] (a > org.apache.tomcat.util.threads.ThreadPool$ControlRunnable) at > java.lang.Thread.run(Thread.java:595) >=20 > It looks to me they are waiting for threads. They aren't "waiting for threads"; those *are* threads, waiting for somethi= ng to work on. That's the normal state of a Tomcat thread when no requests= are present. > Also, I am looking at server.xml and I see multiple sections=20 > and not sure where to increase thread number. If you're not using httpd for anything other than serving static content, c= onsider just eliminating it and letting Tomcat handle everything. If, on t= he other hand, you are using httpd for something useful, then the requests = for Tomcat will arrive on the AJP . You can tell from the threa= d dump which the threads are associated with. Also, if you're using Tomcat 6.0.x (you didn't bother to tell us), you can = configure an as a shared thread pool for all s. It's= all in the doc. - Chuck THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MA= TERIAL and is thus for use only by the intended recipient. If you received = this in error, please contact the sender and delete the e-mail and its atta= chments from all computers. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org