[Bug 254333] [tcp] sysctl net.inet.tcp.hostcache.list hangs

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Mar 28 11:52:28 UTC 2021


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=254333

--- Comment #6 from Richard Scheffenegger <rscheff at freebsd.org> ---
Also, as a quick workaround:

What is the output of sysctl net.inet.tcp.hostcache

and the above problem about the waiting for a contingeous chunk of kernel
memory could be reduced, by restricting net.inet.tcp.hostcache.cachelimit
(the output tries to allocate (net.inet.tcp.hostcache.count+1)*128 bytes. With
a full hostcache this is almost a 2 MB memory chunk (on my system, the limit is
15360).

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-net mailing list