Hiya.

Today we've done a stress test on our application and observed some new 
behavior - many of the functions that we're delegating to Quartz Scheduler 
(each with its own Thread) started to take quite a while to complete, and 
queued up.

Did a Thread Dump, revealing many of these Threads to be in BLOCKED state, 
referencing a WeakHashMap while either attempting to register or unregister a 
connection from the pool.

Any ideas what could cause this?  Incorrectly configured pool size?  Not enough 
DB Connections available?

Thread: DefaultQuartzScheduler_Worker-23 : priority:7, demon:false, 
threadId:58, threadState:BLOCKED, threadLockName:[EMAIL PROTECTED]
  | 
  | 
org.jboss.resource.connectionmanager.CachedConnectionManager.registerConnection(CachedConnectionManager.java:288)
  | 
org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:417)
  | 
org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:842)
  | 
org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:88)
  | 
org.hibernate.connection.DatasourceConnectionProvider.getConnection(DatasourceConnectionProvider.java:69)
  | 
org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:417)
  | 
org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:144)

S,
ALR

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4081860#4081860

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4081860
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to