Date: Fri, 29 Sep 2006 06:24:26 +0000 (UTC) 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: <200609290624.k8T6OQ44032481@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
silby 2006-09-29 06:24:26 UTC
FreeBSD src repository
Modified files:
sys/netinet tcp_subr.c
Log:
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
net.inet.tcp.maxtcptw.
Reviewed by: glebius, ru
Revision Changes Path
1.263 +24 -8 src/sys/netinet/tcp_subr.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200609290624.k8T6OQ44032481>
