On Wed, 20 Apr 2005, Jeffrey Layton wrote: > 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.
I saw that but as I said I haven't got that far yet. It is clearly the right approach though. > > > 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. Yes. The only thing we can do is be careful to limit the number of TCP connections we make as much as possible. Ian _______________________________________________ autofs mailing list autofs@linux.kernel.org http://linux.kernel.org/mailman/listinfo/autofs