pstack hangs, jvm stuck doing lwp_cond_wait
Hi all,
in the process of debugging another process, which is stuck doing lwp_cond_wait, repeatedly...
truss shows...
3392/7: lwp_cond_wait(0xFF2F3E08,0xFE371A38,0xFE371A38) Err#62 ETIME
3392/7: lwp_cond_wait(0xFF2F3E08,0xFE371A38,0xFE371A38) Err#62 ETIME
3392/7: lwp_cond_wait(0xFF2F3E08,0xFE371A38,0xFE371A38) Err#62 ETIME
.....
The thread that this always happens is the GCThread.
Question:
why does lwp_cond_wait have 3 parameters ? I thought the sys call required two- &cond_var and &mutex ?
On doing a pstack, the process does not show all the threads. In fact it prints the stacks of some of the threads and does not do anything more.
This is the tail end of pstack ...
ec23685c ???????? (fcb3e330, edc061d0, 0, abeaa8, 6, ff2c0614)
ff2d8448 JITInvokeCompiledMethod (abeabc, 1cee678, abe810, edc83c70, edc7fc70, 0) + bc
ff0404cc invokeCompiledMethod (e50c1370, abeaa8, abeaa8, ff2c0614, 1cee678, abe810) + b8
ff0d2fec executeJava (ff2c78f0, abe9c4, ff2c0614, 1cee678, 1, 113cd70) + 2d6c
ff06b60c runJavaMethod (abe810, abea7c, e50c15f8, 27eee2, ff2c0614, abe810) + 80
ff123da0 JITCallbackInterpreter (27eee2, abea7c, e50c174c, 113cfe0, abe810, 0) + cc
ff2c62b0 JITInterpreterStub (fcb32940, edc83c70, d, abe748, abe760, 0) + 4c
ec407d74 ???????? (fcb10b78, edc061d0, fcb32940, 113bf90, e70228, 113cc00)
ec234500 ???????? (fcb12e30, edc061d0, 0, edc06218, fcb10b78, ee951c60)
**** It just waits after this ****
My guess is this process has about 200 -250 lwps. It is a weblogic appserver process.
Please help, any pointers appreciated.
What should I be looking for ?