From b53f63892a204cb303ac5faae519549017ce00ec Mon Sep 17 00:00:00 2001 From: xtaci Date: Fri, 9 Aug 2024 11:47:56 +0800 Subject: [PATCH] update sysctl on freebsd --- dist/sysctl_freebsd | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/dist/sysctl_freebsd b/dist/sysctl_freebsd index b57775106..2240dac3a 100644 --- a/dist/sysctl_freebsd +++ b/dist/sysctl_freebsd @@ -7,3 +7,8 @@ net.inet.tcp.sendbuf_inc=16384 net.inet.tcp.functions_default=bbr net.inet.udp.recvspace=1048576 net.netlink.sendspace=1048576 +kern.ipc.somaxconn=4096 +net.inet.ip.portrange.first=1024 +net.inet.ip.portrange.last=65535 +kern.maxfiles=65536 +kern.maxfilesperproc=65536