Categories: links, linux, programming, python, snark, solaris, spam, sysadmin, tech, unix, web.
|
2008-04-24 What Linux's RPC queue dump means, sort ofSince I went digging through the kernel source code yesterday, here is the meaning of the fields
in the RPC queue dump that you get any time you write to
As far as I've been able to work out, the useful fields are:
(The Unfortunately, there is no way to map from a particular RPC request to
the processes that are waiting on it; the
A brief mention of some tools for debugging Linux NFS client issuesSomeone here recently asked for tips on debugging a mysterious Linux
NFS client hang. I didn't have any answers, but I did happen to know
where to look for some Linux-specific tools. (The person had already
exhausted the abilities of things like The most obvious thing is to use the magic SysRq
to get a dump of the kernel call stacks of all processes (the (Here's where I observe that it's a pity that there's no way to ask for a magic SysRq dump of a specific process. Hopefully someone will now tell me that I'm wrong.) The Linux NFS client also has its own debugging hooks, accessible
through (In addition, writing any number to The values for the various things you can get reports of are found in
the kernel source in Note that this can produce a lot of kernel messages very fast,
especially if you turn on lots of things. Also, one of the big reasons
this stuff is not documented is that it is primarily intended for kernel
hackers, so to understand the results you may need to go dig in the
kernel NFS and RPC code (in (There are similar debug files for the NFS server and for the NLM. Exploring these is left as an exercise for the reader.)
|
These are my WanderingThoughts GettingAround This is part of CSpace, and is written by ChrisSiebenmann. * * * Atom feeds are available; see the bottom of most pages. Categories: links, linux, programming, python, snark, solaris, spam, sysadmin, tech, unix, web |