cvs commit: src/sys/netinet tcp_subr.c

From: Mike Silbersack <>
Date: Thu, 23 Oct 2003 22:44:14 -0700 (PDT)
silby       2003/10/23 22:44:14 PDT

  FreeBSD src repository

  Modified files:
    sys/netinet          tcp_subr.c 
  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
  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
Received on Thu Oct 23 2003 - 22:44:15 UTC