[OpenAFS-devel] still seeing iput errors on 2.2.19...
Chaskiel M Grundman
cg2v+@andrew.cmu.edu
Sat, 14 Apr 2001 17:19:10 -0400 (EDT)
Excerpts from mail: 14-Apr-101 Re: [OpenAFS-devel] still s.. by Nathan
Neulinger@umr.edu
> Interesting... this just happened again on the machine it usually
> happens on, but I happened to notice something about it:
Assuming that you haven't rebooted yet, could you try the following:
% cmdebug localhost -long | grep -A4 -B1 'refcnt .....'
Which will produce something like
** Cache entry @ 0xc89b3a00 for 1.1970723513.3374.152806
287 bytes DV 4 refcnt 48
callback 00000000 expires 986966221
0 opens 0 writers
normal file
(except that the refcount will be big) Take the second and third decimal
numbers on the first line and run them through this perl one-liner:
% perl -e 'print ((($ARGV[0]&0x7fff) << 16) | $ARGV[1]); print "\n"'
1970723513 3374
This will produce a single decimal number (that being the fake inode
number AFS gives the kernel.) now, use lsof to get all references to
that inode
# lsof |grep 1522076974
(you might want to just send me this stuff....)