Date: Wed, 04 Jan 2012 12:35:20 -0800 From: Chuck Swiger <cswiger@mac.com> To: Dan The Man <dan@sunsaturn.com> Cc: freebsd-current@freebsd.org Subject: Re: sysctl kern.ipc.somaxconn limit 65535 why? Message-ID: <0A9B7C39-DFA9-4C65-BE39-CC72E18DAB87@mac.com> In-Reply-To: <alpine.BSF.2.00.1201041419340.4843@sunsaturn.com> References: <alpine.BSF.2.00.1201041419340.4843@sunsaturn.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Jan 4, 2012, at 12:22 PM, Dan The Man wrote: > Trying to stress test a framework here that tosses 100k of connections into a listen queue before doing anything, I realize I'll have to use multiple local IPs get get around port limitations, but why is this backlog using a limit? Even a backlog of a 1000 is large compared to the default listen queue size of around 50 or 128. And if you can drain 1000 connections per second, a 65K backlog is big enough that plenty of clients (I'm thinking web-browsers here in particular) will have given up and maybe retried rather than waiting for 60+ seconds just to exchange data. Regards, -- -Chuck
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0A9B7C39-DFA9-4C65-BE39-CC72E18DAB87>