Tuesday, 15 January 2013

jstack in Linux


From the stack trace, you should see a heap of threads like "WAITING on 0xabcd123".
This only works if you do the jstack without -F, i.e. sudo -u afa jstack PID rather than sudo jstack -F PID Look for the line that says "LOCKED 0xabcd123", this will be the one thread holding everything else up.

No comments:

Post a Comment