Attach: /rc/bin/tap

if something hangs, theres a good opportunity to figure
out what is happening by looking in what state the
various processes of the horde are using acid or acid -k.

this does require knowledge of wich process waits for whom.

for simple await() relationship, it is easy. there are
various pstree programs arround for plan9.

for process pipelines, i'v written the program tap (attached
to this mail) that walks the filedescriptor table of a
process, checks for a pipe and then searches /proc for other
processes having the other end of that pipe open doing this
recursively.

deadlocked fileservers are harder to track down.

if these hang conditions are reproducable, you might also try
stuff like rons ratrace.

good luck :)

--
cinap

Reply via email to