From owner-freebsd-questions Wed Nov 1 21:01:54 1995 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id VAA13838 for questions-outgoing; Wed, 1 Nov 1995 21:01:54 -0800 Received: from Root.COM (implode.Root.COM [198.145.90.17]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id VAA13832 for ; Wed, 1 Nov 1995 21:01:46 -0800 Received: from corbin.Root.COM (corbin [198.145.90.50]) by Root.COM (8.6.12/8.6.5) with ESMTP id VAA01525; Wed, 1 Nov 1995 21:01:45 -0800 Received: from localhost (localhost [127.0.0.1]) by corbin.Root.COM (8.6.12/8.6.5) with SMTP id UAA02487; Wed, 1 Nov 1995 20:59:53 -0800 Message-Id: <199511020459.UAA02487@corbin.Root.COM> To: Pete Shipley cc: questions@freebsd.org Subject: Re: TCP listen queue length: In-reply-to: Your message of "Wed, 01 Nov 95 19:12:41 PST." <199511020313.TAA03073@merde.dis.org> From: David Greenman Reply-To: davidg@Root.COM Date: Wed, 01 Nov 1995 20:59:52 -0800 Sender: owner-questions@freebsd.org Precedence: bulk >Does anyone know how to adjust the listen queue length under FreeBSD 2.* . > >under SunOS you can do it with: > > /ndd -set /dev/tcp tcp_conn_req_max 64 > > and BSDI can be done with: > > bpatch -l -r somaxconn 32 > >this is a useful thing WWW servers to speed them up. The default for this in FreeBSD was recently increased to 32. It should be changed into a sysctl tunable, however. For now, you can adjust it by changing SOMAXCONN in /sys/sys/socket.h. -DG