From owner-freebsd-net@FreeBSD.ORG Sat Jul 21 01:12:14 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 A48C716A418 for ; Sat, 21 Jul 2007 01:12:14 +0000 (UTC) (envelope-from freebsd@meijome.net) Received: from sigma.octantis.com.au (ns2.octantis.com.au [207.44.189.124]) by mx1.freebsd.org (Postfix) with ESMTP id 7254413C45E for ; Sat, 21 Jul 2007 01:12:14 +0000 (UTC) (envelope-from freebsd@meijome.net) Received: (qmail 21402 invoked from network); 20 Jul 2007 19:45:33 -0500 Received: from 203-206-233-219.dyn.iinet.net.au (HELO localhost) (203.206.233.219) by sigma.octantis.com.au with (DHE-RSA-AES256-SHA encrypted) SMTP; 20 Jul 2007 19:45:32 -0500 Date: Sat, 21 Jul 2007 10:45:25 +1000 From: Norberto Meijome To: Robert Watson Message-ID: <20070721104525.44603382@localhost> In-Reply-To: <20070720180546.X39675@fledge.watson.org> References: <20070720145932.GP6053@more.net> <20070720180546.X39675@fledge.watson.org> X-Mailer: Claws Mail 2.10.0 (GTK+ 2.10.14; i386-portbld-freebsd6.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-net@freebsd.org, "Eric L. Anderson" 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: Sat, 21 Jul 2007 01:12:14 -0000 On Fri, 20 Jul 2007 18:07:37 +0100 (BST) Robert Watson wrote: > > 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. Hi, Reserved ports controlled by sysctl : net.inet.ip.portrange.reservedhigh: 1023 net.inet.ip.portrange.reservedlow: 0 although the 600 rwatson mentions seems to be this one: net.inet.ip.portrange.lowfirst: 1023 net.inet.ip.portrange.lowlast: 600 You should be able to tweak these values - as long as you have ephemeral ports for the rest of your network activity, you should be ok, right? _________________________ {Beto|Norberto|Numard} Meijome "Discovery consists of looking at the same thing as everyone else does and thinking something different." Albert Szent-Gyorgyi, 1937 Nobel Prize in Physiology and Medicine I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned.