On Fri, 2006-07-07 at 10:40 -0400, Jeff Moyer wrote:
> ==> Regarding Re: [autofs] Large number of mount request.; "Latrell" <[EMAIL 
> PROTECTED]> adds:
> 
> is85022> Sorry for misunderstanding what you mean. I think I should describe 
> my
> is85022> scenario in detail.
> is85022> I use autofs to mount shares under user's home directory. It 
> functions
> is85022> normally in normal cases.
> is85022> However, in stress test,  the user continuously login->change 
> directory
> is85022> (autofs mount in this time) -> logout (a SIGERM sent to the automount
> is85022> daemon) --> login.......
> 
> Why is a SIGTERM sent to automount when you logout?  It shouldn't be.

I think Jeff has pretty much summed it up.

The SIGTERM terminates autofs and you then have unnecessary startup and
shutdown overhead giving a window where mounts will not work as there is
no daemon to manage them.

Don't forget that there was also a bug in the lock routines that cause
it not to wait sometimes. Apply, at least the locking patch to 4.1.4.

Ian

_______________________________________________
autofs mailing list
[email protected]
http://linux.kernel.org/mailman/listinfo/autofs

Reply via email to