cvs commit: src/sys/netinet tcp_subr.c
Mike Silbersack
silby at FreeBSD.org
Thu Oct 23 22:44:15 PDT 2003
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
More information about the cvs-src
mailing list