Max NFS mounts for a FreeBSD client?

Robert Watson rwatson at FreeBSD.org
Fri Jul 20 17:07:39 UTC 2007


On Fri, 20 Jul 2007, Eric L. Anderson wrote:

> What is the limit of NFS mounts a FreeBSD server can make and how do you 
> modify this limit?
>
> The only reference I could find to this question on the FreeBSD lists is 
> http://lists.freebsd.org/pipermail/freebsd-questions/2004-July/051947.html
>
> I have ran a similar test and the same thing happens after 420 NFS mounts. 
> This is on both FreeBSD 6.0 and 6.2.
>
> We have recently run into a problem where we are bumping up against some 
> kind of limit to the number of NFS mounts on our FreeBSD servers.

Sounds a bit like something is running out of reserved ports to use -- the 
credentials error may mean that a port number >1023 was used for an NFS 
connection.  Given that reserved ports start around 600, 420 is about the 
right number of sockets to reach 1024.

Robert N M Watson
Computer Laboratory
University of Cambridge


More information about the freebsd-net mailing list