Max NFS mounts for a FreeBSD client?
Eric L. Anderson
anderson at more.net
Thu Aug 2 16:32:18 UTC 2007
On Sat, Jul 21, 2007 at 08:24:09PM +0100, Robert Watson wrote:
> On Fri, 20 Jul 2007, Eric L. Anderson wrote:
>
> >I can not change lowfirst to any higher amount. I did change lowlast from
> >600 to 1 and now I can mount more than 1000 NFS mounts. This is great but
> >what kind of side effects am I introducing by making this change?
>
> The risk, btw, is that those reserved ports may no longer be available for
> other use, as they may collide with other services you might want to have,
> especially if those services want to bind INADDR_ANY.
I had a look at the manpage for mount_nfs and the default is to use a
reserved socket port number. There is also the option to not use a
reserved socket port number ("-N") and that has taken care of our
problem.
--
Eric L. Anderson
anderson at more.net
More information about the freebsd-net
mailing list