[OpenAFS] advice on troubleshooting blocked cache manager on MacOS?

Derrick Brashear shadow@gmail.com
Thu, 21 Jan 2010 14:04:06 -0500

On Thu, Jan 21, 2010 at 12:56 PM, Adam Megacz <adam@megacz.com> wrote:
> Hi, lately I've been encountering a lot of situations where a process
> seems to block for a really long time trying to access something in
> /afs; it usually succeeds, but only after several minutes. =A0This seems
> to happen only on MacOS (1.4.11, although I saw it with 1.4.10 too).
> Can anybody give me some advice on how to go about discovering exactly
> which file access is blocked, and perhaps why? =A0I have control of the
> fileserver in this situation.

cmdebug the client and see if it's blocking on a lock. tcpdump port
7001 with some useful flags (maybe -n -vv -s 1500) and see what it's
trying to talk to. maybe fstrace.