From owner-freebsd-stable@FreeBSD.ORG Wed Jun 2 00:44:48 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D321116A4CE for ; Wed, 2 Jun 2004 00:44:48 -0700 (PDT) Received: from relay.pair.com (relay.pair.com [209.68.1.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 454CA43D2D for ; Wed, 2 Jun 2004 00:44:48 -0700 (PDT) (envelope-from silby@silby.com) Received: (qmail 46323 invoked from network); 2 Jun 2004 07:44:31 -0000 Received: from niwun.pair.com (HELO localhost) (209.68.2.70) by relay.pair.com with SMTP; 2 Jun 2004 07:44:31 -0000 X-pair-Authenticated: 209.68.2.70 Date: Wed, 2 Jun 2004 02:44:30 -0500 (CDT) From: Mike Silbersack To: freebsd-stable@freebsd.org Message-ID: <20040602023824.B37780@odysseus.silby.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: Possible portrange.randomized problems? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 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, 02 Jun 2004 07:44:48 -0000 I've been informed that there have been some reports of problems with MySQL connections failing due to randomized ephemeral ports. If you're one of the people affected, could you check a few things and then contact me? Things to check: 1. Are the stuck sockets / failing connections sticking in the SYN_SENT state? 2. Does the range of ports in use look like it's relatively random, or do you see only a small amount of your portrange being used? (The portrange is 1024 to 5000 by default.) 3. Does setting net.inet.ip.portrange.randomized=0 solve the problem for you? Thanks, Mike "Silby" Silbersack