From owner-freebsd-stable@FreeBSD.ORG Wed Mar 9 23:03:37 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 89C10106566B for ; Wed, 9 Mar 2011 23:03:37 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) Received: from esa-annu.mail.uoguelph.ca (esa-annu.mail.uoguelph.ca [131.104.91.36]) by mx1.freebsd.org (Postfix) with ESMTP id 47F5D8FC0A for ; Wed, 9 Mar 2011 23:03:37 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApwEAPOVd02DaFvO/2dsb2JhbACELaM5sgmRJoEng0h2BIUihxg X-IronPort-AV: E=Sophos;i="4.62,292,1297054800"; d="scan'208";a="112669646" Received: from erie.cs.uoguelph.ca (HELO zcs3.mail.uoguelph.ca) ([131.104.91.206]) by esa-annu-pri.mail.uoguelph.ca with ESMTP; 09 Mar 2011 18:03:36 -0500 Received: from zcs3.mail.uoguelph.ca (localhost.localdomain [127.0.0.1]) by zcs3.mail.uoguelph.ca (Postfix) with ESMTP id 64ECEB3F23; Wed, 9 Mar 2011 18:03:36 -0500 (EST) Date: Wed, 9 Mar 2011 18:03:36 -0500 (EST) From: Rick Macklem To: George Mitchell Message-ID: <1139116164.1119047.1299711816326.JavaMail.root@erie.cs.uoguelph.ca> In-Reply-To: <4D776D7E.2080908@m5p.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [172.17.91.201] X-Mailer: Zimbra 6.0.10_GA_2692 (ZimbraWebClient - IE8 (Win)/6.0.10_GA_2692) Cc: freebsd-stable@freebsd.org Subject: Re: statd/lockd startup failure X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Mar 2011 23:03:37 -0000 > > Thanks for the analysis. The reason I originally posted is to see why > this might have popped up in 8.x, as it never happened in 7.x. > -- George Mitchell > I suspect two things make this occur more frequently with 8.x. One is that it does IPv6 first (I suspect IPv6 wasn't enabled by default on 7.x?). The other is the port randomization code, which probably results in more frequent collisions with port #s used by other things. (Basically, the code selects an unused port# for either UDP or TCP over IPv6 (I can't remember which comes first:-) and then expects that port to be available for the other 3 combinations of UDP/TCP x IPv6/IPv4. rick