From owner-freebsd-stable@FreeBSD.ORG Wed Jun 2 02:22:59 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 CCA6E16A4CE for ; Wed, 2 Jun 2004 02:22:59 -0700 (PDT) Received: from farside.isc.org (farside.isc.org [204.152.187.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id AFE4E43D55 for ; Wed, 2 Jun 2004 02:22:59 -0700 (PDT) (envelope-from Mark_Andrews@isc.org) Received: from drugs.dv.isc.org (localhost [IPv6:::1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by farside.isc.org (Postfix) with ESMTP id 78A36A855 for ; Wed, 2 Jun 2004 09:22:58 +0000 (UTC) (envelope-from marka@isc.org) Received: from drugs.dv.isc.org (localhost [127.0.0.1]) by drugs.dv.isc.org (8.12.11/8.12.11) with ESMTP id i529MpGt028413; Wed, 2 Jun 2004 19:22:52 +1000 (EST) (envelope-from marka@drugs.dv.isc.org) Message-Id: <200406020922.i529MpGt028413@drugs.dv.isc.org> To: Mike Silbersack From: Mark Andrews In-reply-to: Your message of "Wed, 02 Jun 2004 02:44:30 EST." <20040602023824.B37780@odysseus.silby.com> Date: Wed, 02 Jun 2004 19:22:51 +1000 Sender: Mark_Andrews@isc.org cc: freebsd-stable@freebsd.org Subject: Re: 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 09:22:59 -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 > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" Well I'm seeing the occasional EADDRINUSE being returned from connect(). This is w/ a different application. -- Mark Andrews, ISC 1 Seymour St., Dundas Valley, NSW 2117, Australia PHONE: +61 2 9871 4742 INTERNET: Mark_Andrews@isc.org