RP/TUX 8.1/TUX 9.1 - worker thread may hang in multi-threaded server at startup

(Doc ID 777574.1)

Last updated on NOVEMBER 04, 2016

Applies to:

Oracle Tuxedo / Tuxedo / 8.1,9.1
Information in this document applies to any platform

Goal

DESCRIPTION:
Worker thread may hang in multi-threaded server at startup. This may cause the request dispatched to that thread timed
out in client side.

The stack trace in HP-UX is like following (threadicesimp):

#0  0xc0000000000f9ea0:0 in __uswtch+0xc0 () at OrbMain.cpp:78
#1  0xc0000000000f9ea0:0 in __uswtch+0xc0 () at OrbMain.cpp:78
#2  0xc0000000000f2930:0 in __mxn_sleep+0x1390 () at OrbMain.cpp:78
#3  0xc0000000000b6960:0 in <unknown_procedure> + 0x460 () at OrbMain.cpp:78
#4  0xc0000000000bb660:0 in pthread_mutex_lock+0x180 () at OrbMain.cpp:78
#5  0xc000000007ea3e40:0 in _e_mutex_lock (_tm_cntxt=0x6000000000260020,
    mutex=0x6000000000272a50, flags=0) at gpthread.c:589
#6  0xc000000007a44a70:0 in _tmtr_reset () at trace.c:830
#7  0xc00000000781b470:0 in tx_open () at tx.c:413
#8  0xc000000008c2bc50:0 in TP::open_xa_rm () at TP.cpp:494
#9  0xc000000008badd70:0 in ServerBase::thread_initialize (
    this=0x60000000000192e0, argc=17, argv=0x9ffffffffffff240)
    at OrbMain.cpp:1040
#10 0xc000000008ba8220:0 in OrbMain::thread_startup (this=0x6000000000016ee0,
    argc=17, argv=0x9ffffffffffff240) at OrbMain.cpp:773
#11 0xc000000008bacaa0:0 in thread_init (argc=17, argv=0x9ffffffffffff240)
    at OrbMain.cpp:968
#12 0x4000000000094330:0 in tpsvrthrinit (argc=17, argv=0x9ffffffffffff240)
    at tpfwinit.cpp:76
#13 0xc000000007804b00:0 in _tmsvrthrmain (self=0x60000000000b6b40)
    at tmrunsvr.c:2457
#14 0xc0000000000a21a0:0 in __pthread_unbound_body+0x490 () at OrbMain.cpp:78

CONFIGURATION:
Tuxedo 8.1

Solution

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms