mirror of
https://gitee.com/callmer/pve_toss_notes.git
synced 2026-09-01 06:22:52 +08:00
add src/Fox_Debian_99_Sysctl.conf.
Signed-off-by: 秋刀狐狸 <9463297+callmer@user.noreply.gitee.com>
This commit is contained in:
@@ -0,0 +1,24 @@
|
|||||||
|
# This configuration file is customized by fox
|
||||||
|
# Optimize system parameters
|
||||||
|
|
||||||
|
kernel.panic = 20
|
||||||
|
kernel.panic_on_oops = 1
|
||||||
|
|
||||||
|
net.core.default_qdisc = fq_codel
|
||||||
|
net.ipv4.tcp_congestion_control = bbr
|
||||||
|
|
||||||
|
# Other adjustable system parameters
|
||||||
|
|
||||||
|
net.ipv4.conf.all.log_martians = 1
|
||||||
|
|
||||||
|
net.ipv4.icmp_ratelimit = 100
|
||||||
|
net.ipv4.igmp_max_memberships = 100
|
||||||
|
|
||||||
|
net.ipv4.tcp_fin_timeout = 30
|
||||||
|
net.ipv4.tcp_keepalive_time = 120
|
||||||
|
net.ipv4.tcp_max_orphans = 4096
|
||||||
|
net.ipv4.tcp_max_tw_buckets = 4096
|
||||||
|
net.ipv4.tcp_syncookies = 1
|
||||||
|
|
||||||
|
net.ipv6.conf.all.use_tempaddr = 0
|
||||||
|
net.ipv6.conf.default.use_tempaddr = 0
|
||||||
Reference in New Issue
Block a user