commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gary Gregory (JIRA)" <j...@apache.org>
Subject [jira] [Comment Edited] (DBCP-513) Hundreads of threads in Wait state with below stack trace
Date Thu, 19 Jul 2018 13:53:00 GMT

    [ https://issues.apache.org/jira/browse/DBCP-513?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16549294#comment-16549294
] 

Gary Gregory edited comment on DBCP-513 at 7/19/18 1:52 PM:
------------------------------------------------------------

Version 2.1.1 is antique, can you try the version we just released: 2.5.0?

Please provide your environment in that field.


was (Author: garydgregory):
Version 2.1.1 is antique, can you try the version we just released: 2.5.0?

> Hundreads of threads in Wait state with below stack trace
> ---------------------------------------------------------
>
>                 Key: DBCP-513
>                 URL: https://issues.apache.org/jira/browse/DBCP-513
>             Project: Commons DBCP
>          Issue Type: Bug
>    Affects Versions: 2.1.1
>            Reporter: Mahesh
>            Priority: Blocker
>
> Hello Team,
> Our application suddenly stops responding, when we checked thread dump, most of the threads
are in wait state with below stack trace, we had to restart server to make it active, can
you pelase provide your inputs on the root cause & resolution?
>  
> "JSockConn Thread #4532" #40906 prio=5 os_prio=0 tid=0x00007f84382ce800 nid=0xc692 waiting
on condition [0x00007f83d38f8000]
>  java.lang.Thread.State: WAITING (parking)
>  at sun.misc.Unsafe.park(Native Method)
>  - parking to wait for <0x00000005c30a11b8> (a java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject)
>  at java.util.concurrent.locks.LockSupport.park(LockSupport.java:175)
>  at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.await(AbstractQueuedSynchronizer.java:2039)
>  at org.apache.commons.pool2.impl.LinkedBlockingDeque.takeFirst(LinkedBlockingDeque.java:583)
>  at org.apache.commons.pool2.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:442)
>  at org.apache.commons.pool2.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:363)
>  at org.apache.commons.dbcp2.PoolingDataSource.getConnection(PoolingDataSource.java:134)
>  at org.apache.commons.dbcp2.BasicDataSource.getConnection(BasicDataSource.java:1533)



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message