Discussion

Hung Threads on PEGA

Version : 4.2 SP6
Oracle Version : 10G
JDBC Version : 9.2.0.8.0

We are getting hung threads frequently on PEGA servers. Following is one of the hung thread dump. Is there away to find the root cause?. Thank you.

at oracle.jdbc.oci8.OCIDBAccess.do_execute(Native Method) at oracle.jdbc.oci8.OCIDBAccess.executeFetch(OCIDBAccess.java:1748) - locked [0xbfbe7b70] (a oracle.jdbc.oci8.OCIDBAccess) at oracle.jdbc.oci8.OCIDBAccess.parseExecuteFetch(OCIDBAccess.java:1915) - locked [0xbfbe7b70] (a oracle.jdbc.oci8.OCIDBAccess) at oracle.jdbc.driver.OracleStatement.executeNonQuery(OracleStatement.java:2191) at oracle.jdbc.driver.OracleStatement.doExecuteOther(OracleStatement.java:2064) at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2989) at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:658) - locked [0xc38ee850] (a oracle.jdbc.driver.OraclePreparedStatement) - locked [0xbfbe9950] (a oracle.jdbc.driver.OracleConnection) at com.ibm.ws.rsadapter.jdbc.WSJdbcPreparedStatement.pmiExecuteUpdate(WSJdbcPreparedStatement.java:683) at com.ibm.ws.rsadapter.jdbc.WSJdbcPreparedStatement.executeUpdate(WSJdbcPreparedStatement.java:496) at com.pega.pegarules.engine.database.DatabasePreparedStatement.executeUpdate(DatabasePreparedStatement.java:298) at com.pega.pegarules.engine.database.Saver.saveExistingInstanceWithNoDeletedColumnNotOnlyIfNew(Saver.java:647) at com.pega.pegarules.engine.database.Saver.saveInstance(Saver.java:206) at com.pega.pegarules.engine.database.DatabaseImpl.performOps(DatabaseImpl.java:1829) at com.pega.pegarules.engine.database.DatabaseImpl.attemptToProcessUpdates(DatabaseImpl.java:1290) at com.pega.pegarules.engine.database.DatabaseImpl.processUpdates(DatabaseImpl.java:1208) at com.pega.pegarules.engine.database.DatabaseImpl.save(DatabaseImpl.java:3774) at com.pega.pegarules.engine.database.DatabaseImpl.save(DatabaseImpl.java:3593) at com.pega.pegarules.engine.context.PRNodeImpl.passivateRequestorToDB(PRNodeImpl.java:1240) - locked [0xf0dd07a8] (a java.lang.Class) at com.pega.pegarules.engine.context.PRNodeImpl.passivateRequestor(PRNodeImpl.java:1368) at com.pega.pegarules.ejb.PegaAPbeanImpl.ejbPassivate(PegaAPbeanImpl.java:157) at com.pega.pegarules.ejb.PegaAPbean.ejbPassivate(PegaAPbean.java:82) at com.ibm.ejs.container.StatefulBeanO.passivate(StatefulBeanO.java:528) - locked [0xc03fb618] (a com.ibm.ejs.container.BMStatefulBeanO) at com.ibm.ejs.container.StatefulBeanO.uninstall(StatefulBeanO.java:780) - locked [0xc03fb618] (a com.ibm.ejs.container.BMStatefulBeanO) at com.ibm.ejs.container.activator.StatefulSessionActivationStrategy.atTimeout(StatefulSessionActivationStrategy.java:404) - locked [0xb6a5d868] (a java.lang.Object) at com.ibm.ejs.container.activator.Activator.timeoutBean(Activator.java:753) at com.ibm.ejs.container.StatefulBeanReaper.deleteBean(StatefulBeanReaper.java:407) at com.ibm.ejs.container.StatefulBeanReaper.sweep(StatefulBeanReaper.java:279) at com.ibm.ejs.container.StatefulBeanReaper.alarm(StatefulBeanReaper.java:236) at com.ibm.ejs.util.am._Alarm.run(_Alarm.java:80) at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:937)

oracle.jdbc.oci8.OCIDBAccess.do_execute(Native Method) at oracle.jdbc.oci8.OCIDBAccess.executeFetch(OCIDBAccess.java:1748) - locked [0xbfbe7b70] (a oracle.jdbc.oci8.OCIDBAccess) at oracle.jdbc.oci8.OCIDBAccess.parseExecuteFetch(OCIDBAccess.java:1915) - locked [0xbfbe7b70] (a oracle.jdbc.oci8.OCIDBAccess) at oracle.jdbc.driver.OracleStatement.executeNonQuery(OracleStatement.java:2191) at oracle.jdbc.driver.OracleStatement.doExecuteOther(OracleStatement.java:2064) at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2989) at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:658) - locked [0xc38ee850] (a oracle.jdbc.driver.OraclePreparedStatement) - locked [0xbfbe9950] (a oracle.jdbc.driver.OracleConnection) at com.ibm.ws.rsadapter.jdbc.WSJdbcPreparedStatement.pmiExecuteUpdate(WSJdbcPreparedStatement.java:683) at com.ibm.ws.rsadapter.jdbc.WSJdbcPreparedStatement.executeUpdate(WSJdbcPreparedStatement.java:496) at com.pega.pegarules.engine.database.DatabasePreparedStatement.executeUpdate(DatabasePreparedStatement.java:298) at com.pega.pegarules.engine.database.Saver.saveExistingInstanceWithNoDeletedColumnNotOnlyIfNew(Saver.java:647) at com.pega.pegarules.engine.database.Saver.saveInstance(Saver.java:206) at com.pega.pegarules.engine.database.DatabaseImpl.performOps(DatabaseImpl.java:1829) at com.pega.pegarules.engine.database.DatabaseImpl.attemptToProcessUpdates(DatabaseImpl.java:1290) at com.pega.pegarules.engine.database.DatabaseImpl.processUpdates(DatabaseImpl.java:1208) at com.pega.pegarules.engine.database.DatabaseImpl.save(DatabaseImpl.java:3774) at com.pega.pegarules.engine.database.DatabaseImpl.save(DatabaseImpl.java:3593) at com.pega.pegarules.engine.context.PRNodeImpl.passivateRequestorToDB(PRNodeImpl.java:1240) - locked [0xf0dd07a8] (a java.lang.Class) at com.pega.pegarules.engine.context.PRNodeImpl.passivateRequestor(PRNodeImpl.java:1368) at com.pega.pegarules.ejb.PegaAPbeanImpl.ejbPassivate(PegaAPbeanImpl.java:157) at com.pega.pegarules.ejb.PegaAPbean.ejbPassivate(PegaAPbean.java:82) at com.ibm.ejs.container.StatefulBeanO.passivate(StatefulBeanO.java:528) - locked [0xc03fb618] (a com.ibm.ejs.container.BMStatefulBeanO) at com.ibm.ejs.container.StatefulBeanO.uninstall(StatefulBeanO.java:780) - locked [0xc03fb618] (a com.ibm.ejs.container.BMStatefulBeanO) at com.ibm.ejs.container.activator.StatefulSessionActivationStrategy.atTimeout(StatefulSessionActivationStrategy.java:404) - locked [0xb6a5d868] (a java.lang.Object) at com.ibm.ejs.container.activator.Activator.timeoutBean(Activator.java:753) at com.ibm.ejs.container.StatefulBeanReaper.deleteBean(StatefulBeanReaper.java:407) at com.ibm.ejs.container.StatefulBeanReaper.sweep(StatefulBeanReaper.java:279) at com.ibm.ejs.container.StatefulBeanReaper.alarm(StatefulBeanReaper.java:236) at com.ibm.ejs.util.am._Alarm.run(_Alarm.java:80) at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:937)

**Moderation Team has archived post**

This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.

Comments

Keep up to date on this post and subscribe to comments

March 31, 2010 - 10:50am

Due to request was timed out and throwing Thread Dumps.

June 7, 2016 - 1:44pm

Apply HFix-24551