Hi!

I am getting very annoying freezes on the terminal from time to time. Today I 
was able to trace them back to a git branch call for my fancy bash prompt. 
Normally it takes 0.06s to call git branch in my $HOME on afs but sometimes it 
takes about 54s. Tracing git branch showed me it is always hanging at stat 
/afs/.git
I was also able to reproduce the hangs with:

while [ 1 ]; do /usr/bin/time test -d /afs/.git/; done


Playing around with the afsd options I found out that -afsdb was the root of 
the problem. For the moment I have removed the -afsdb option to solve the 
problem on my host. It also takes only 0.002s now to call git branch in my 
$HOME.


What exactly may be the problem with -afsdb. Are my SRV records wrong or is 
there a problem with my name server?
I am happy for any hints because removing the -afsdb option is complicated...


regards
Markus Köberl
-- 
Markus Koeberl
Graz University of Technology
Signal Processing and Speech Communication Laboratory
E-mail: [email protected]

Reply via email to