IBM Support

PK99787; 6.1.0.27: dynacache clear causes dead lock

Download


Abstract

Performance of dynacache clear operations in high volume environments deadlocks.

Download Description

PK99787 resolves the following problem:

ERROR DESCRIPTION:
After approximately 36 hours running, an internal test case died because all WebContainer threads were hanging. Analyzing the threaddump showed a deadlock of two threads which blocked all other WebContainer threads.

These are the stacktraces:

Thread Name WebContainer : 1057
State Deadlock/Blocked
Monitor Owns Monitor Lock on
com/ibm/ws/cache/Cache@00007FFD04508B60/00007FFD04508B78
Waiting for Monitor Lock on
com/ibm/ws/cache/Cache@00007FFD05715A88/00007FFD05715AA0
Java Stack at
com/ibm/ws/cache/Cache.batchUpdate(Cache.java:1274(Compiled
Code))
at com/ibm/ws/cache/BatchUpdateDaemon.wakeUp(Batch
UpdateDaemon.java:353(Compiled Code))
at com/ibm/ws/cache/BatchUpdateDaemon.cache
Command_Clear(BatchUpdateDaemon.java:108(Compiled Code))
at com/ibm/ws/cache/Cache.clear(Cache.java:1581(Compiled Code))


Thread Name WebContainer : 1125
State Deadlock/Blocked
Monitor Owns Monitor Lock on
com/ibm/ws/cache/Cache@00007FFD05715A88/00007FFD05715AA0
Waiting for Monitor Lock on
com/ibm/ws/cache/Cache@00007FFD04508B60/00007FFD04508B78
Java Stack at
com/ibm/ws/cache/Cache.batchUpdate(Cache.java:1259(Compiled
Code))
at com/ibm/ws/cache/BatchUpdateDaemon.wakeUp(Batch
UpdateDaemon.java:353(Compiled Code))
at com/ibm/ws/cache/BatchUpdateDaemon.cache
Command_Clear(BatchUpdateDaemon.java:108(Compiled Code))
at com/ibm/ws/cache/Cache.clear(Cache.java:1581(Compiled Code))

LOCAL FIX:
None

PROBLEM SUMMARY

USERS AFFECTED:
All users of IBM WebSphere Application Server V6.1 and V7.0 using dynacache.

PROBLEM DESCRIPTION:
Performance of dynacache clear operations in high volume environments deadlocks.

RECOMMENDATION:
None

In order to protect the cache instance dynacache uses synchronized methods to allow synchronous access to clear operations. This synchronization is excessive and may cause a deadlock during a stress situation.

PROBLEM CONCLUSION:
Excessive synchronization has been eliminated to allow clear operations to perform without a deadlock.

The fix for this APAR is currently targeted for inclusion in Fix Packs 6.1.0.33 and 7.0.0.9. Refer to the Recommended Updates page for delivery information:
http://www.ibm.com/support/docview.wss?uid=swg27004980

Change History
Last Updated: 13 May 2010

  • 13 May 2010: Added additional iFix for 6.1.0.31

Prerequisites

None

Installation Instructions

Review the readme.txt for detailed installation instructions.

[{"INLabel":"Readme","INLang":"US English","INSize":"9647","INURL":"ftp://public.dhe.ibm.com/software/websphere/appserv/support/fixes/PK99787/readme.txt"}]
On
[{"DNLabel":"6.1.0.27-WS-WAS-IFPK99787","DNDate":"11/16/2009","DNLang":"US English","DNSize":"31771","DNPlat":{"label":"AIX","code":"PF002"},"DNURL":"https://www.ibm.com/support/fixcentral/quickorder?fixids=6.1.0.27-WS-WAS-IFPK99787&product=ibm%2FWebSphere%2FWebSphere%20Application%20Server&source=dbluesearch","DNURL_FTP":"ftp://public.dhe.ibm.com/software/websphere/appserv/support/fixes/PK99787/6.1.0.27-WS-WAS-IFPK99787.pak","DDURL":"http://public.dhe.ibm.com:7618;sw_websphere;appserv/support/fixes/PK99787/6.1.0.27-WS-WAS-IFPK99787.pak"},{"DNLabel":"6.1.0.29-WS-WAS-IFPK99787","DNDate":"3/24/2010","DNLang":"US English","DNSize":"43786","DNPlat":{"label":"AIX","code":"PF002"},"DNURL":"https://www.ibm.com/support/fixcentral/quickorder?fixids=6.1.0.29-WS-WAS-IFPK99787&product=ibm%2FWebSphere%2FWebSphere%20Application%20Server&source=dbluesearch","DNURL_FTP":"+ftp://public.dhe.ibm.com/software/websphere/appserv/support/fixes/PK99787/6.1.0.29-WS-WAS-IFPK99787.pak","DDURL":"http://public.dhe.ibm.com:7618;sw_websphere;appserv/support/fixes/PK99787/6.1.0.29-WS-WAS-IFPK99787.pak"},{"DNLabel":"6.1.0.31-WS-WAS-IFPK99787","DNDate":"5/10/2010","DNLang":"US English","DNSize":"18160","DNPlat":{"label":"AIX","code":"PF002"},"DNURL":"ftp://public.dhe.ibm.com/software/websphere/appserv/support/fixes/PK99787/6.1.0.31-WS-WAS-IFPK99787.pak","DNURL_FTP":"+http://www.ibm.com/support/fixcentral/quickorder?fixids=6.1.0.31-WS-WAS-IFPK99787&product=ibm%2FWebSphere%2FWebSphere%20Application%20Server&source=dbluesearch","DDURL":" "},{"DNLabel":"7.0.0.5-WS-WAS-IFPK99787","DNDate":"11/18/2009","DNLang":"US English","DNSize":"48148","DNPlat":{"label":"AIX","code":"PF002"},"DNURL":"https://www.ibm.com/support/fixcentral/quickorder?fixids=7.0.0.5-WS-WAS-IFPK99787&product=ibm%2FWebSphere%2FWebSphere%20Application%20Server&source=dbluesearch","DNURL_FTP":"+ftp://public.dhe.ibm.com/software/websphere/appserv/support/fixes/PK99787/7.0.0.5-WS-WAS-IFPK99787.pak","DDURL":"http://public.dhe.ibm.com:7618;sw_websphere;appserv/support/fixes/PK99787/7.0.0.5-WS-WAS-IFPK99787.pak"},{"DNLabel":"7.0.0.7-WS-WAS-IFPK99787","DNDate":"11/18/2009","DNLang":"US English","DNSize":"48161","DNPlat":{"label":"AIX","code":"PF002"},"DNURL":"https://www.ibm.com/support/fixcentral/quickorder?fixids=7.0.0.7-WS-WAS-IFPK99787&product=ibm%2FWebSphere%2FWebSphere%20Application%20Server&source=dbluesearch","DNURL_FTP":"+ftp://public.dhe.ibm.com/software/websphere/appserv/support/fixes/PK99787/7.0.0.7-WS-WAS-IFPK99787.pak","DDURL":"http://public.dhe.ibm.com:7618;sw_websphere;appserv/support/fixes/PK99787/7.0.0.7-WS-WAS-IFPK99787.pak"}]

Technical Support

Contact IBM Support using SR (http://www.ibm.com/software/support/probsub.html), visit the WebSphere Application Server Support Web site (http://www.ibm.com/support/entry/portal/Overview/Software/WebSphere/WebSphere_Application_Server), or contact 1-800-IBM-SERV (U.S. only).

[{"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Dynamic Cache","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF012","label":"IBM i"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"7.0.0.7;7.0.0.5;6.1.0.31;6.1.0.29;6.1.0.27","Edition":"Base;Network Deployment","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
07 December 2019

UID

swg24025058