[OpenAFS] Re: busy .backup volumes

Andrew Deason adeason@sinenomine.net
Fri, 19 Apr 2013 17:11:01 -0500


On Fri, 19 Apr 2013 13:06:20 -0600
"Kristen J. Webb" <kwebb@teradactyl.com> wrote:

> # bos --version
> openafs 1.4.14

Er, you mean 'vos'? But I assume they're all the same :)

> Fri Apr 19 15:02:36 2013 trans 22 on volume 1953054615 is older than
> 469110 seconds
> 
> We've been just restarting the server.  Is there a better way to kill
> these hung transactions without a sledge hammer?

You can try <http://docs.openafs.org/Reference/1/vos_endtrans.html>. It
doesn't exist in 1.4, but using the 'vos' from 1.6+ would work fine.

However, I thought that specific message indicates that there's still an
RPC holding a reference to that transaction (otherwise it would say it's
idle). I might not be remembering the details correctly at the moment,
but if so, you can't do anything to kill the transaction until you find
the executing RPC that's using it and get it to stop. So, you'd need to
look at 'vos status', rxdebug, or maybe a stack/core dump to see who's
doing that.

-- 
Andrew Deason
adeason@sinenomine.net