[OpenAFS-port-darwin] startup cache scan hang

Nicholas Riley njriley@uiuc.edu
Sun, 27 May 2007 15:48:38 -0500


On Sun, May 27, 2007 at 03:17:19PM -0500, Nicholas Riley wrote:
> And there seem to be a bunch of zombie afsds around.  The below
> transcribed from the screen since my console/SSH connections hung
> entirely shortly thereafter, so there may be a few errors in it.
> 
> USER    PID %CPU %MEM   VSZ   RSS  TT  STAT STARTED    TIME  COMMAND
> root    237  0.0  0.4  27692  2028  ??  U    2:42PM  0:00.24 /usr/sbin/afsd -afsdb -stat 10000 -dcache 2500 -daemons 5 -volumes 70 -dynroot -fakestat-all
> root    255  0.0  0.0      0     0  ??  Z   31Dec69  0:00.00 (afsd)
> root    256  0.0  0.0  27692  2028  ??  Us   2:42PM  0:00.00 /usr/sbin/afsd -afsdb -stat 10000 -dcache 2500 -daemons 5 -volumes 70 -dynroot -fakestat-all
> root    252  0.0  0.0      0     0  ??  Z   31Dec69  0:00.00 (afsd)
> root    253  0.0  0.0      0     0  ??  Z   31Dec69  0:00.00 (afsd)
> root    254  0.0  0.0      0     0  ??  Z   31Dec69  0:00.00 (afsd)

So it seems two copies of afsd are starting - is this correct?  Here's
another machine:

smithers:~ macadmin$ ps jaxww|head -1; ps jaxww|grep afs
USER       PID  PPID  PGID   SESS JOBC STAT  TT       TIME COMMAND
root       236   129   129 3e65058    0 U     ??    0:00.12 /usr/sbin/afsd -afsdb -stat 10000 -dcache 2500 -daemons 5 -volumes 70 -dynroot -fakestat-all
root       237   236   129 3e65058    0 Z     ??    0:00.00 (afsd)
root       238   236   129 3e65058    0 Z     ??    0:00.00 (afsd)
root       239   236   129 3e65058    0 Z     ??    0:00.00 (afsd)
root       240   236   129 3e65058    0 Z     ??    0:00.00 (afsd)
root       241     1   241 3e654a8    0 Us    ??    0:00.00 /usr/sbin/afsd -afsdb -stat 10000 -dcache 2500 -daemons 5 -volumes 70 -dynroot -fakestat-all
root       340   318   318 3e63678    0 U     ??    0:00.00 /usr/sbin/afsd -shutdown

Tracing pid 236's parents:

root       129    49   129 3e65058    0 Ss    ??    0:00.01 /bin/sh /Library/StartupItems/OpenAFS/OpenAFS start
root        49     1    49 3e665e8    0 SNs   ??    0:00.12 SystemStarter

On the machines where AFS started successfully, I don't see the second
copy of afsd started from /Library/StartupItems/OpenAFS... did it exit?

Confusedly,

-- 
Nicholas Riley <njriley@uiuc.edu> | <http://www.uiuc.edu/ph/www/njriley>