mirror of
https://gitee.com/callmer/pve_toss_notes.git
synced 2026-08-31 22:12:51 +08:00
27 lines
597 B
Plaintext
27 lines
597 B
Plaintext
# This configuration file is customized by fox,
|
|
# Optimize sysctl parameters for local DNS server.
|
|
|
|
kernel.panic = 20
|
|
kernel.panic_on_oops = 1
|
|
|
|
net.core.default_qdisc = fq
|
|
net.ipv4.tcp_congestion_control = bbr
|
|
|
|
# Other adjustable system parameters
|
|
|
|
net.core.netdev_budget = 600
|
|
net.core.netdev_budget_usecs = 20000
|
|
|
|
net.ipv4.conf.all.log_martians = 1
|
|
|
|
net.ipv4.igmp_max_memberships = 256
|
|
|
|
net.ipv4.tcp_challenge_ack_limit = 1000
|
|
net.ipv4.tcp_fin_timeout = 30
|
|
net.ipv4.tcp_keepalive_time = 120
|
|
net.ipv4.tcp_syncookies = 1
|
|
|
|
net.ipv6.conf.all.use_tempaddr = 0
|
|
net.ipv6.conf.default.use_tempaddr = 0
|
|
|