Possible portrange.randomized problems?

Mark Andrews Mark_Andrews at isc.org
Wed Jun 2 02:22:59 PDT 2004


> 
> 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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe at 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 at isc.org


More information about the freebsd-stable mailing list