Date: Thu, 23 Oct 2003 22:44:14 -0700 (PDT) From: Mike Silbersack <silby@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/netinet tcp_subr.c Message-ID: <200310240544.h9O5iEYJ029101@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
silby 2003/10/23 22:44:14 PDT FreeBSD src repository Modified files: sys/netinet tcp_subr.c Log: Reduce the number of tcp time_wait structs to maxsockets / 5; this ensures that at most 20% of sockets can be in time_wait at one time, ensuring that time_wait sockets do not starve real connections from inpcb structures. No implementation change is needed, jlemon already implemented a nice LRU-ish algorithm for tcp_tw structure recycling. This should reduce the need for sysadmins to lower the default msl on busy servers. Revision Changes Path 1.164 +1 -1 src/sys/netinet/tcp_subr.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200310240544.h9O5iEYJ029101>