[OpenAFS] Killing defunct afs processes [was: 1.3.80 won't make on Gentoo Linux i386 2.6.11-r3]

Kevin openafs@gnosys.biz
Thu, 24 Mar 2005 09:34:45 -0500


On Wed, 2005-03-23 at 20:52 -0500, Derrick J Brashear wrote:

> Change inode to ip on that line and the next line.

Thanks, Derrick.  That fixed it.

While I'm here, can someone offer me any pointers on killing defunct
(and related) afs processes?  I'm still having problems with running
1.3.80 as a server and I frequently end up with defunct afs processes
that won't die after being sent a signal 9 with kill -9 or killall -9.
The only way I know to do it now is rebooting and that's getting old
fast.

Eg.

root     27834  0.0  0.0      0     0 ?        S    07:09   0:00
[afs_rxlistener]
root     27836  0.0  0.0      0     0 ?        S    07:09   0:00
[afs_callback]
root     27845  0.0  0.0      0     0 ?        S    07:09   0:00
[afs_background]
root     27847  0.0  0.0      0     0 ?        S    07:09   0:00
[afs_background]
root     27849  0.0  0.0      0     0 ?        S    07:09   0:00
[afs_background]
root     27851  0.0  0.0      0     0 ?        S    07:09   0:00
[afs_background]
root     27853  0.0  0.0      0     0 ?        S    07:09   0:00
[afs_background]
root     27855  0.0  0.0      0     0 ?        S    07:09   0:00
[afs_cachetrim]
root     27936  0.0  0.0      0     0 ?        S    07:09   0:00
[afs_background]
root     27938  0.0  0.0      0     0 ?        S    07:09   0:00
[afs_background]
root     27940  0.0  0.0      0     0 ?        S    07:09   0:00
[afs_background]
root     27942  0.0  0.0      0     0 ?        S    07:09   0:00
[afs_background]
root     27944  0.0  0.0      0     0 ?        S    07:09   0:00
[afs_background]
root     27946  0.0  0.0      0     0 ?        S    07:09   0:00
[afs_cachetrim]
root     28017  0.0  0.0      0     0 ?        S    07:09   0:00
[afs_background]
root     28019  0.0  0.0      0     0 ?        S    07:09   0:00
[afs_background]
root     28021  0.0  0.0      0     0 ?        S    07:09   0:00
[afs_background]
root     28024  0.0  0.0      0     0 ?        S    07:09   0:00
[afs_background]
root     28026  0.0  0.0      0     0 ?        S    07:09   0:00
[afs_cachetrim]
root     28031  0.0  0.0      0     0 ?        S    07:09   0:00
[afs_background]
root     28098  0.0  0.0      0     0 ?        S    07:09   0:00
[afs_background]
root     28100  0.0  0.0      0     0 ?        S    07:09   0:00
[afs_background]
root     28102  0.0  0.0      0     0 ?        S    07:09   0:00
[afs_background]
root     28105  0.0  0.0      0     0 ?        S    07:09   0:00
[afs_background]
root     28107  0.0  0.0      0     0 ?        S    07:09   0:00
[afs_cachetrim]
root     28112  0.0  0.0      0     0 ?        S    07:09   0:00
[afs_background]
root     28232  0.0  0.0      0     0 ?        S    07:11   0:00
[afs_background]
root     28234  0.0  0.0      0     0 ?        S    07:11   0:00
[afs_background]
root     28236  0.0  0.0      0     0 ?        S    07:11   0:00
[afs_background]
root     28238  0.0  0.0      0     0 ?        S    07:11   0:00
[afs_background]
root     28240  0.0  0.0      0     0 ?        S    07:11   0:00
[afs_background]
root     28242  0.0  0.0      0     0 ?        S    07:11   0:00
[afs_cachetrim]
root     29336  0.0  0.0   1904   768 pts/6    S    07:45
0:00 /usr/sbin/afsd -fakestat -stat 2800 -dcache 2400 -daemons 5
-volumes 128 -nosettime
root     29337  0.0  0.0      0     0 pts/6    Z<   07:45   0:00 [afsd]
<defunct>
root     29338  0.0  0.0      0     0 pts/6    Z    07:45   0:00 [afsd]
<defunct>
root     29339  0.0  0.0      0     0 ?        S    07:45   0:00
[afs_cbstart]
root     29340  0.0  0.0      0     0 pts/6    Z<   07:45   0:00 [afsd]
<defunct>
root     29341  0.0  0.0      0     0 ?        S    07:45   0:00
[afs_evtstart]

These have all been sent signal 9 multiple times with kill -9 PID or
killall -9 process_name.

TIA for any suggestions

-- 
-Kevin
http://www.gnosys.us