My Oracle Support Banner

Service Bus 12c: Thread deadlock in 'java.util.concurrent.Semaphore$NonfairSync' (Doc ID 2159603.1)

Last updated on JULY 03, 2019

Applies to:

Oracle Service Bus - Version and later
Information in this document applies to any platform.


Under load the Service Bus instance becomes unresponsive due to all available threads being in a 'STUCK' state.  

Thread dumps show hundreds of threads with the following stack:


What's happening is that thread 13 has acquired the semaphore permit that thread 31 is waiting on.  At the same time, thread 31 has acquired the lock on ClientResponseTransportImpl that thread 13 is waiting on.  Hence, it's a deadlock.


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

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