From 1606e0c74bcc908eefed1b6772ecfa5a5856777b Mon Sep 17 00:00:00 2001 From: CallMeR <9463297+callmer@user.noreply.gitee.com> Date: Fri, 14 Mar 2025 14:38:27 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E7=B3=BB=E7=BB=9F=20sysctl?= =?UTF-8?q?=20=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 05.PVE制作虚拟机模板.md | 1 + 07.PVE制作TS服务器.md | 1 + src/debian/debian_dns_99_sysctl.conf | 1 + src/debian/debian_ts_99_sysctl.conf | 1 + 4 files changed, 4 insertions(+) diff --git a/05.PVE制作虚拟机模板.md b/05.PVE制作虚拟机模板.md index 512280a..947fb13 100644 --- a/05.PVE制作虚拟机模板.md +++ b/05.PVE制作虚拟机模板.md @@ -225,6 +225,7 @@ net.ipv4.tcp_challenge_ack_limit = 1000 net.ipv4.tcp_fastopen = 3 net.ipv4.tcp_fin_timeout = 30 net.ipv4.tcp_keepalive_time = 120 +net.ipv4.tcp_max_syn_backlog = 8192 net.ipv4.tcp_notsent_lowat = 131072 net.ipv4.tcp_rmem = 4096 87380 26214400 net.ipv4.tcp_wmem = 4096 16384 655360 diff --git a/07.PVE制作TS服务器.md b/07.PVE制作TS服务器.md index 09066cf..0126f1e 100644 --- a/07.PVE制作TS服务器.md +++ b/07.PVE制作TS服务器.md @@ -243,6 +243,7 @@ net.ipv4.tcp_challenge_ack_limit = 1000 net.ipv4.tcp_fastopen = 3 net.ipv4.tcp_fin_timeout = 30 net.ipv4.tcp_keepalive_time = 120 +net.ipv4.tcp_max_syn_backlog = 8192 net.ipv4.tcp_notsent_lowat = 131072 net.ipv4.tcp_rmem = 4096 87380 26214400 net.ipv4.tcp_wmem = 4096 16384 655360 diff --git a/src/debian/debian_dns_99_sysctl.conf b/src/debian/debian_dns_99_sysctl.conf index 1b551a2..1d864bb 100644 --- a/src/debian/debian_dns_99_sysctl.conf +++ b/src/debian/debian_dns_99_sysctl.conf @@ -22,6 +22,7 @@ net.ipv4.tcp_challenge_ack_limit = 1000 net.ipv4.tcp_fastopen = 3 net.ipv4.tcp_fin_timeout = 30 net.ipv4.tcp_keepalive_time = 120 +net.ipv4.tcp_max_syn_backlog = 8192 net.ipv4.tcp_notsent_lowat = 131072 net.ipv4.tcp_rmem = 4096 87380 26214400 net.ipv4.tcp_wmem = 4096 16384 655360 diff --git a/src/debian/debian_ts_99_sysctl.conf b/src/debian/debian_ts_99_sysctl.conf index 5e8e985..8b5fcf5 100644 --- a/src/debian/debian_ts_99_sysctl.conf +++ b/src/debian/debian_ts_99_sysctl.conf @@ -49,6 +49,7 @@ net.ipv4.tcp_challenge_ack_limit = 1000 net.ipv4.tcp_fastopen = 3 net.ipv4.tcp_fin_timeout = 30 net.ipv4.tcp_keepalive_time = 120 +net.ipv4.tcp_max_syn_backlog = 8192 net.ipv4.tcp_notsent_lowat = 131072 net.ipv4.tcp_rmem = 4096 87380 26214400 net.ipv4.tcp_wmem = 4096 16384 655360