cvs commit: src/sys/netinet tcp_subr.c

Mike Silbersack silby at
Thu Sep 28 23:24:27 PDT 2006

silby       2006-09-29 06:24:26 UTC

  FreeBSD src repository

  Modified files:
    sys/netinet          tcp_subr.c 
  Rather than autoscaling the number of TIME_WAIT sockets to maxsockets / 5,
  scale it to min(ephemeral port range / 2, maxsockets / 5) so that people
  with large gobs of memory and/or large maxsockets settings will not
  exhaust their entire ephemeral port range with sockets in the TIME_WAIT
  state during periods of heavy load.
  Those who wish to tweak the size of the TIME_WAIT zone can still do so with
  Reviewed by: glebius, ru
  Revision  Changes    Path
  1.263     +24 -8     src/sys/netinet/tcp_subr.c

More information about the cvs-src mailing list