diff options
author | silby <silby@FreeBSD.org> | 2003-10-24 05:44:14 +0000 |
---|---|---|
committer | silby <silby@FreeBSD.org> | 2003-10-24 05:44:14 +0000 |
commit | 4390f0545904e8fe638e4fbb365000ec229a7c3a (patch) | |
tree | fb1b0677457cd015641c4e2b20a0e8f30936c317 /sys/vm/swap_pager.c | |
parent | 05b0056432194711845d7ed2d787081ed3c8c18d (diff) | |
download | FreeBSD-src-4390f0545904e8fe638e4fbb365000ec229a7c3a.zip FreeBSD-src-4390f0545904e8fe638e4fbb365000ec229a7c3a.tar.gz |
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.
Diffstat (limited to 'sys/vm/swap_pager.c')
0 files changed, 0 insertions, 0 deletions