My Oracle Support Banner

Coherence Threads Still Active In A Tuxedo Service After Tmshutdown (Doc ID 1514192.1)

Last updated on NOVEMBER 03, 2016

Applies to:

Oracle Coherence - Version 3.7.0 to 3.7.1.6 [Release AS10g]
Information in this document applies to any platform.

Symptoms

Coherence 3.7.1.6 and Tuxedo 10.3 patch 033 and Tuxedo 12.1.1.
Coherence C++ Client (3.7.1.6) cache operations being called from Tuxedo service.

When cache operations are not invoked during server lifecycle, Tuxedo server shuts down normally upon tmshutdown operation.
When cache operations are invoked during server lifecycle, Tuxedo server does not shut down upon tmshutdown operation and hangs.

Examing the process with a debugger should show two threads similar to the following:

(gdb) info threads
  2 Thread 0x418e3940 (LWP 24301)  0x0000003a6d40e898 in do_sigwait () from /lib64/libpthread.so.0
* 1 Thread 0x2abba745e5f0 (LWP 24283)  0x0000003a6d407b35 in pthread_join () from /lib64/libpthread.so.0
(gdb) where
#0  0x0000003a6d407b35 in pthread_join () from /lib64/libpthread.so.0
#1  0x0000003a6c8334f5 in exit () from /lib64/libc.so.6
#2  0x0000003a6c81d99b in __libc_start_main () from /lib64/libc.so.6
#3  0x00000000004118c9 in _start ()

(gdb) thread 2
[Switching to thread 2 (Thread 0x418e3940 (LWP 24301))]#0  0x0000003a6d40e898 in do_sigwait () from /lib64/libpthread.so.0
(gdb) where
#0  0x0000003a6d40e898 in do_sigwait () from /lib64/libpthread.so.0
#1  0x0000003a6d40e93d in sigwait () from /lib64/libpthread.so.0
#2  0x00002abba46292cb in coh_signal_handler () from /coherence-cpp/lib/libcoherence.so
#3  0x0000003a6d40673d in start_thread () from /lib64/libpthread.so.0
#4  0x0000003a6c8d44bd in clone () from /lib64/libc.so.6
(gdb)

 

Cause

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
Symptoms
Cause
Solution
References

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