[OpenAFS] Re: fs process doesn't exit until I send a signal 9

Derrick J Brashear shadow@dementia.org
Fri, 25 Feb 2005 19:55:39 -0500 (EST)


On Fri, 25 Feb 2005, Mike Polek wrote:

> For what it's worth, I have servers that have thousands of volumes
> on each partition. (Ok... maybe a poor design choice, but I didn't
> know the single threaded volume server would be an issue when I did
> the design...) After 30 minutes, the bosserver assumes that the
> fileserver isn't going to stop, and does a kill -9 to stop it.
> I'm pretty sure it's just because of the sheer number of volumes
> to unmount.

It's breaking the callbacks that takes time.

> 1) Is there an easy way to change the timeout value? I'm not sure
>   yet if it's faster to do the kill -9 one minute into the shutdown
>   and just let the salvager do it's thing, or if it's better to
>   let the shutdown take an hour. I can say that it would be helpful
>   to have an emergency procedure that won't corrupt volumes for when
>   the shutdown is triggered by a power failure. :-)

Not currently, anyway.

> 2) I noticed that in the 1.3 branch, the volume server is multi-
>   threaded. (THANK YOU!!!) Does anybody know how this affects
>   shutdown/startup time? Should I still be looking for a way to
>   reduce the number of volumes on a server?

It helps when you do moves or releases. It's largely irrelevant to 
startup/shutdown.