My Oracle Support Banner

What is Holding the Lock? Why is this Thread Hung? (Doc ID 1395088.1)

Last updated on NOVEMBER 15, 2022

Applies to:

Oracle Communications Messaging Server - Version 5.2.0 and later
Information in this document applies to any platform.


How to determine what is holding a lock / why a process/thread is hung?

For example, reconstruct has taken 10 minutes for a folder with only 500 messages and still has not completed.


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document
 Use pstack to see what the hung process/thread is doing
 Use imcheck -s to see what it is waiting for and what is holding it
 Search for the pid/thread that is hung
 Find the locker entry showing what it is waiting for
 Find the locker which is holding the lock
 Find what that process/thread is doing

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.