From owner-freebsd-net@FreeBSD.ORG Fri Jul 20 17:07:39 2007 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4456D16A474 for ; Fri, 20 Jul 2007 17:07:39 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from cyrus.watson.org (cyrus.watson.org [209.31.154.42]) by mx1.freebsd.org (Postfix) with ESMTP id 0A2BE13C468 for ; Fri, 20 Jul 2007 17:07:39 +0000 (UTC) (envelope-from rwatson@FreeBSD.org) Received: from fledge.watson.org (fledge.watson.org [209.31.154.41]) by cyrus.watson.org (Postfix) with ESMTP id DF83446B95; Fri, 20 Jul 2007 13:07:37 -0400 (EDT) Date: Fri, 20 Jul 2007 18:07:37 +0100 (BST) From: Robert Watson X-X-Sender: robert@fledge.watson.org To: "Eric L. Anderson" In-Reply-To: <20070720145932.GP6053@more.net> Message-ID: <20070720180546.X39675@fledge.watson.org> References: <20070720145932.GP6053@more.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: freebsd-net@freebsd.org Subject: Re: Max NFS mounts for a FreeBSD client? X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Jul 2007 17:07:39 -0000 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