Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 01 Nov 1995 20:59:52 -0800
From:      David Greenman <davidg@Root.COM>
To:        Pete Shipley <shipley@dis.org>
Cc:        questions@freebsd.org
Subject:   Re: TCP listen queue length: 
Message-ID:  <199511020459.UAA02487@corbin.Root.COM>
In-Reply-To: Your message of "Wed, 01 Nov 95 19:12:41 PST." <199511020313.TAA03073@merde.dis.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
>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



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