22.15. DCE/DFS process hangs or loops

If a process is hanging and appears to be unresponsive, or if it is spinning (looping) and consuming large amounts of CPU time, then you need to see what the process is doing to enable you to figure out what’s wrong. There are a couple of tools that allow you to see stack traces for each thread in the process. By running one of these tools a few times (waiting a minute or so between runs), you can see which threads are moving and which are stuck. You can use showProcInfo on either Solaris or AIX; or you can use dumpthreads on AIX.

Both of these tools require dbx on the system where they are run, and showProcInfo also requires Perl.

If you don’t have the prerequisite tools (dbx, Perl, or both), then you could ...

Get z/OS Diagnostic Data Collection and Analysis now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.