[OpenAFS-port-darwin] OpenAFS 1.6.2 on OS X 10.8: suspected deadlock

Duncan S Kincaid dsk@MIT.EDU
Mon, 8 Apr 2013 20:21:10 +0000


this problem was evident in OpenAFS Client 1.6.1 but resolved in OpenAFS Cl=
ient 1.6.1a.
It seems to have resurfaced under 1.6.2.

Issue with 1.6.1 was identified by Derrick and fixed:
"the good: you're out of Rx packets.
the bad: not sure where they all are yet!"
and
"never mind. found it. gerrit 7788."

with thanks
dk

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D
Behaviour: All clients with AFS home directories see 20 minute delay before
files accessible. Then suddenly all files available and all proceeds normal=
ly.

For reference, please find report filed July 14 2012 re 1.6.1 client below:
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D
1. spinning beach ball for *exactly* 20 minutes, then session returns to no=
rmal
2. can confirm user gets tokens and TGT at login (using LoginHook and Launc=
hAgent scripts)
3. ssh connections as root into the beach balling mac reveal following:
	a. no CPU load. All processes 'stuck' or 'sleeping' (apart from 'top', of =
course)
	b. virtually no system.log file entires from time of beach balling. at 20 =
minute mark lots of 'time out' errors logged.
	c. attempts to traverse afs directory tree results in shell locking up com=
pletely
4. tcpdumps show very little afs traffic**. mostly pings (rx ack) to server=
s/databases at rate of 2-5/sec. at the 20 minute mark, a barrage of traffic=
 (rx data). (500-4000/sec)****.
5. local users (those whose home directories reside on computer hard drive)=
 have never seen this problem
6. this problem occurs irrespective of particular user with home directory =
in AFS, AFS server storing his home directory, AFS cell,  and client comput=
er OS.
7. 'Action At A Distance': when the beach ball spins on Macintosh, mounting=
 the same user's AFS home from another computer (Linux box) takes 2 minutes=
 as opposed to customary 1-2 seconds. subsequent Linux logins are normal.


|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||=
||||||
duncan kincaid
cron | mit school of architecture and planning