PQ80452: DEADLOCK BETWEEN FASTHASHTABLE AND BUCKETS INSIDE FASTHASHTABLE

 Fixes are available

5.1.0.5: WebSphere Application Server Express 5.1 Cumulative Fix 5
4.0.2-4.0.7: Component cumulative Connection Manager fix
5.0.2.7: WebSphere Application Server Express 5.0.2 Cumulative Fix 7
5.1.1: WebSphere Application Server Version 5.1 Fix Pack 1 (Version 5.1.1)
5.0.2.12: WebSphere Application Server 5.0.2 Cumulative Fix 12
5.0.2.13: WebSphere Application Server 5.0.2 Cumulative Fix 13
5.0.2.14: WebSphere Application Server 5.0.2 Cumulative Fix 14 for AIX
5.0.2.14: WebSphere Application Server 5.0.2 Cumulative Fix 14 for Solaris
5.0.2.14: WebSphere Application Server 5.0.2 Cumulative Fix 14 for HP-UX
5.0.2.14: WebSphere Application Server 5.0.2 Cumulative Fix 14 for Windows
5.0.2.14: WebSphere Application Server 5.0.2 Cumulative Fix 14 for Linux
5.0.2.15: WebSphere Application Server 5.0.2 Cumulative Fix 15 for Windows
5.0.2.15: WebSphere Application Server 5.0.2 Cumulative Fix 15 for Solaris
5.0.2.15: WebSphere Application Server 5.0.2 Cumulative Fix 15 for AIX
5.0.2.15: WebSphere Application Server 5.0.2 Cumulative Fix 15 for Linux
5.0.2.15: WebSphere Application Server 5.0.2 Cumulative Fix 15 for HP-UX
5.1.1.9: WebSphere Application Server V5.1.1 Cumulative Fix 9 for HP-UX
5.1.1.9: WebSphere Application Server V5.1.1 Cumulative Fix 9 for AIX
5.1.1.9: WebSphere Application Server V5.1.1 Cumulative Fix 9 for Solaris
5.1.1.9: WebSphere Application Server V5.1.1 Cumulative Fix 9 for Windows
5.1.1.9: WebSphere Application Server V5.1.1 Cumulative Fix 9 for Linux
5.0.2.16: WebSphere Application Server 5.0.2 Cumulative Fix 16 for AIX
5.0.2.16: WebSphere Application Server 5.0.2 Cumulative Fix 16 for HP-UX
5.0.2.16: WebSphere Application Server 5.0.2 Cumulative Fix 16 for Linux
5.0.2.16: WebSphere Application Server 5.0.2 Cumulative Fix 16 for Windows
5.0.2.16: WebSphere Application Server 5.0.2 Cumulative Fix 16 for Solaris
5.0.2.8: WebSphere Application Server V5.0.2 Cumulative Fix 8
5.1.1.10: WebSphere Application Server V5.1.1 Cumulative Fix 10 for HP-UX
5.1.1.10: WebSphere Application Server V5.1.1 Cumulative Fix 10 for AIX
5.1.1.10: WebSphere Application Server V5.1.1 Cumulative Fix 10 for Solaris
5.1.1.10: WebSphere Application Server V5.1.1 Cumulative Fix 10 for Windows
5.1.1.10: WebSphere Application Server V5.1.1 Cumulative Fix 10 for Linux
5.0.2.17: WebSphere Application Server 5.0.2 Cumulative Fix 17 for Windows
5.0.2.17: WebSphere Application Server 5.0.2 Cumulative Fix 17 for Solaris
5.0.2.17: WebSphere Application Server 5.0.2 Cumulative Fix 17 for HP-UX
5.0.2.17: WebSphere Application Server 5.0.2 Cumulative Fix 17 for Linux
5.0.2.17: WebSphere Application Server 5.0.2 Cumulative Fix 17 for AIX



APAR status
Closed as program error.

Error description
Deadlock between FastHashtable and Buckets inside FastHashtable.
The following stack traces of the two ORB threads show the
deadlock:
.
"ORB.thread.pool:427":
  waiting to lock monitor 0xcd890 (object 0xdb571a50, a
com.ibm.ejs.util.FastHashtable),
  which is locked by "ORB.thread.pool:508"
"ORB.thread.pool:508":
  waiting to lock monitor 0xcd900 (object 0xdb53cd80, a
com.ibm.ejs.util.Bucket),
  which is locked by "ORB.thread.pool:427"
.
"ORB.thread.pool:427" daemon prio=5 tid=0x9c4950 nid=0x2d5
waiting for monitor entry [0xc0780000..0xc07819d8]
 at com.ibm.ejs.util.FastHashtable.put(FastHashtable.java:143)
 at
com.ibm.ejs.cm.pool.ConnectionPool.returnConnection(ConnectionPo
ol.java:695)
 at com.ibm.ejs.cm.pool.ConnectO.free(ConnectO.java:1253)
 at com.ibm.ejs.cm.pool.ConnectO.decRef(ConnectO.java:377)

 at
com.ibm.ejs.cm.pool.ConnectO.afterCompletion(ConnectO.java:1914)
.
...
Java Stack for "ORB.thread.pool:508":
==========
 at
com.ibm.ejs.util.FastHashtable$ElementEnumerator.findNextBucket(
FastHashtable.java:284)
 at
com.ibm.ejs.util.FastHashtable$ElementEnumerator.hasMoreElements
(FastHashtable.java:236)
 at
com.ibm.ejs.cm.pool.ConnectionPool.waitForVictimConnection(Conne
...
Local fix Problem summary
****************************************************************
* USERS AFFECTED: All WebSphere Application Server users of    *
*                 Connection Managament, 4.0 dataSources.      *
****************************************************************
* PROBLEM DESCRIPTION: A customer experienced a deadlock       *
*                      in the JVM                              *
****************************************************************
* RECOMMENDATION:                                              *
****************************************************************
A very small window existed where there could be a deadlock
on an internal structure. The customer was running -very-
fast hardware and could reproduce this intermittently.
Problem conclusion
We fixed the deadlock, and improved throughput at the
same time.
Temporary fix Comments
APAR information
APAR number PQ80452
Reported component name WEBSPHERE AE SO
Reported component ID 5630A2202
Reported release 400
Status CLOSED PER
PE NoPE
HIPER NoHIPER
Submitted date 2003-11-04
Closed date 2003-11-12
Last modified date 2003-11-12

APAR is sysrouted FROM one or more of the following:

APAR is sysrouted TO one or more of the following:

Modules/Macros

SRLS

Fix information

Applicable component levels
R400 PSY    UP


Document Information


Product categories: Software > Application Servers > Distributed Application & Web Servers > WebSphere Application Server > General
Operating system(s):
Software version: 400
Software edition:
Reference #: PQ80452
IBM Group: Software Group
Modified date: Nov 12, 2003