Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 09 Apr 2021 08:26:29 +0000
From:      bugzilla-noreply@freebsd.org
To:        net@FreeBSD.org
Subject:   [Bug 254333] [tcp] sysctl net.inet.tcp.hostcache.list hangs
Message-ID:  <bug-254333-7501-tXRZI7FtmA@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-254333-7501@https.bugs.freebsd.org/bugzilla/>
References:  <bug-254333-7501@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254333

--- Comment #26 from Maxim Shalomikhin <maxim.shalomikhin@kaspersky.com> ---
We have one more machine with hanging sysctl.

# sysctl net.inet.tcp.hostcache
net.inet.tcp.hostcache.purgenow: 0
net.inet.tcp.hostcache.purge: 0
net.inet.tcp.hostcache.prune: 300
net.inet.tcp.hostcache.expire: 3600
net.inet.tcp.hostcache.count: 4294961495
net.inet.tcp.hostcache.bucketlimit: 30
net.inet.tcp.hostcache.hashsize: 65536
net.inet.tcp.hostcache.cachelimit: 1966080
net.inet.tcp.hostcache.enable: 1

# netstat -sptcp
...
        195494221 hostcache entries added
                88163 bucket overflow
...

loader.conf:
accf_data_load=3D"YES"
accf_dns_load=3D"YES"=20
accf_http_load=3D"YES"
net.inet.tcp.tcbhashsize=3D131072
net.inet.tcp.syncache.hashsize=3D65536
net.inet.tcp.syncache.cachelimit=3D1966080
net.inet.tcp.hostcache.hashsize=3D65536
net.inet.tcp.hostcache.cachelimit=3D1966080

sysctl.conf:
net.inet.icmp.drop_redirect=3D1
net.inet.icmp.icmplim=3D2000
net.inet.icmp.icmplim_output=3D1
net.inet.ip.fw.dyn_buckets=3D2048
net.inet.ip.fw.dyn_max=3D100000
net.inet.tcp.blackhole=3D2
net.inet.tcp.drop_synfin=3D1
net.inet.tcp.fast_finwait2_recycle=3D1
net.inet.tcp.msl=3D10000
net.inet.udp.blackhole=3D1

The issue reproduces every 3-4 months on each of 60 servers in different
locations. All servers are Dell/IBM with different hw specs but all with ECC
RAM, so I don't think this is HW issue.

Please let me know any other information I can collect.

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-254333-7501-tXRZI7FtmA>