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 77FC510698 for ; Wed, 8 May 2013 12:21:19 +0000 (UTC) Received: (qmail 92482 invoked by uid 500); 8 May 2013 12:21:16 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 92390 invoked by uid 500); 8 May 2013 12:21:14 -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 92348 invoked by uid 99); 8 May 2013 12:21:12 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 May 2013 12:21:12 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: error (nike.apache.org: encountered temporary error during SPF processing of domain of charles.r@thelearningbar.com) Received: from [209.85.212.178] (HELO mail-wi0-f178.google.com) (209.85.212.178) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 May 2013 12:21:04 +0000 Received: by mail-wi0-f178.google.com with SMTP id hm14so1861201wib.17 for ; Wed, 08 May 2013 05:20:23 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-received:date:message-id:subject:from:to :content-type:x-gm-message-state; bh=I0Ne42nsJ0Iak1BFNVgY6ZviSgIINCfx1dbYlEYU91k=; b=YMrLHucaRJe3LbTlGBkEX+iUDnBI5qG38ZpecW+totcqAHGdbNzB1RoENFOTEfQ1Ls QDmF4mRY/3PExX1uKB7YKzvu5rtzPzMg67zJnR9fQLZl6/zwo/HuhllXm/T2jYTUpnzQ yxPnIzA9aKsJwXJjG95/of+Y0eU61u/yjJ3pp979pvv9MKmfs0GvfMTmGa58nA0PhJqI UtxrDuaKTFcZH5TnNho3FJ9lpdwKRL4u3LzcAMoGWydOtFOBLGwcuxhI9RFqmmip43sa Bi6ywyMVawpjWLp6gqEX98SGN2rydMzOevlPccLLoP5lF4cRw1Is59Gus9moKxNqFpNe 41Mg== MIME-Version: 1.0 X-Received: by 10.180.21.193 with SMTP id x1mr10012874wie.31.1368015622589; Wed, 08 May 2013 05:20:22 -0700 (PDT) Received: by 10.194.41.4 with HTTP; Wed, 8 May 2013 05:20:22 -0700 (PDT) Date: Wed, 8 May 2013 09:20:22 -0300 Message-ID: Subject: Tomcat thread dump analysis From: Charles Richard To: Tomcat Users List Content-Type: multipart/alternative; boundary=047d7bb709823b53ce04dc33f5c2 X-Gm-Message-State: ALoCoQm6H4sfA/53tbsKb9B4YtPXgC/xKjCDKzYyXD4+ssYiKmskRHa1PSse4rcHWtlneYmssB8y X-Virus-Checked: Checked by ClamAV on apache.org --047d7bb709823b53ce04dc33f5c2 Content-Type: text/plain; charset=ISO-8859-1 Hi, We have a weird issue on our site which some random trigger event will backup all c3p0 connections until it hits the max pool size. I have scripts that will do a softReset on the c3p0 connection pool when they hit their max so help us manage the issue and to also help me have time to hopefully get some decent thread dumps to catch the underlying issue. The problem happened yesterday and I get a lot of these: "TP-Processor396" daemon prio=10 tid=0x00002aff2ba9d000 nid=0x5a7b waiting on condition [0x00002aff61e98000] java.lang.Thread.State: WAITING (parking) at sun.misc.Unsafe.park(Native Method) - parking to wait for <0x00002afecfb91da0> (a java.util.concurrent.Semaphore$NonfairSync) at java.util.concurrent.locks.LockSupport.park(LockSupport.java:158) at java.util.concurrent.locks.AbstractQueuedSynchronizer.parkAndCheckInterrupt(AbstractQueuedSynchronizer.java:811) at java.util.concurrent.locks.AbstractQueuedSynchronizer.doAcquireSharedInterruptibly(AbstractQueuedSynchronizer.java:969) at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireSharedInterruptibly(AbstractQueuedSynchronizer.java:1281) at java.util.concurrent.Semaphore.acquire(Semaphore.java:286) at com.tc.object.locks.LockStateNode$PendingLockHold.park(LockStateNode.java:179) at com.tc.object.locks.ClientLockImpl.acquireQueued(ClientLockImpl.java:723) at com.tc.object.locks.ClientLockImpl.acquireQueued(ClientLockImpl.java:701) at com.tc.object.locks.ClientLockImpl.lock(ClientLockImpl.java:52) at com.tc.object.locks.ClientLockManagerImpl.lock(ClientLockManagerImpl.java:98) at com.tc.object.bytecode.ManagerImpl.lock(ManagerImpl.java:747) If I look at a stack before the issue happened, I see no TP-Processor threads with the "parking to wait for". What can i read into this? Thanks, Charles --047d7bb709823b53ce04dc33f5c2--