[Bug 265865] Unable to use non default tcp stack and cc with daemons
Date: Mon, 15 Aug 2022 23:15:16 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=265865
Bug ID: 265865
Summary: Unable to use non default tcp stack and cc with
daemons
Product: Base System
Version: 13.1-STABLE
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: misc
Assignee: bugs@FreeBSD.org
Reporter: rozhuk.im@gmail.com
I have set:
rc.conf:
kld_list="${kld_list} cc_htcp tcp_rack"
sysctl.conf:
net.inet.tcp.functions_default=rack # Use TCP stack: freebsd / rack
net.inet.tcp.cc.algorithm=htcp # TCP cognestion algoritm
After boot all daemons started with default freebsd+newreno:
# netstat -c -C -L -n -a
Current listen queue sizes (qlen/incqlen/maxqlen)
Proto Listen Local Address Stack CC
cwin ssthresh MSS ECN
tcp4 0/0/128 127.0.0.1.631 freebsd newreno
1073725440 1073725440 536 n/a
tcp6 0/0/128 ::1.631 freebsd newreno
1073725440 1073725440 1220 n/a
tcp4 0/0/128 *.22 freebsd newreno
1073725440 1073725440 536 n/a
tcp6 0/0/128 *.22 freebsd newreno
1073725440 1073725440 1220 n/a
This happen because boot order is:
sysctl - at this point rack+htcp can not be set, not loaded
kld
daemons
sysctl_latest
I do not want move cc_htcp and tcp_rack to loader or write some workaround
script to restart all services with freebsd+newreno after boot done.
--
You are receiving this mail because:
You are the assignee for the bug.