Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Jun 2004 02:44:30 -0500 (CDT)
From:      Mike Silbersack <silby@silby.com>
To:        freebsd-stable@freebsd.org
Subject:   Possible portrange.randomized problems?
Message-ID:  <20040602023824.B37780@odysseus.silby.com>

next in thread | raw e-mail | index | archive | help

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040602023824.B37780>