On Wed, 2005-04-20 at 23:24 +0800, [EMAIL PROTECTED] wrote: > I've tested this and it certainly seems to work. > > But another thing came to mind. > > We've had complaints about ports and protocols being blocked for the > rpc_ping function. > > Any thoughts on how to work around that?
My patch should address this somewhat -- it looks for the 'tcp' and 'nfsvers=' mount options and does the RPC ping according to those. So if the ping doesn't work due to blocked ports, then the mount won't work either. > The other thing that plagues us is that when we open TCP sockets they hang > around which causes port exaustion. > Thoughts on that as well? On this part, there's not much we can do. The kernel leaves sockets in FIN_WAIT for a little while in case any stray packets come in after the connection has been closed. I don't think much (if anything) can be done from userspace to affect this, other than to close the socket as soon as possible. -- Jeff _______________________________________________ autofs mailing list autofs@linux.kernel.org http://linux.kernel.org/mailman/listinfo/autofs