mirror of
https://github.com/hyperknot/openfreemap.git
synced 2026-05-21 22:12:15 +00:00
22 lines
554 B
Plaintext
22 lines
554 B
Plaintext
tcp_tw_reuse
|
|
tcp_fin_timeout
|
|
tcp_max_syn_backlog
|
|
TCP max buffer size
|
|
|
|
Disable Swapping
|
|
|
|
fs.file-max # not needed, recent Ubuntu has it on high by default
|
|
net.core.netdev_max_backlog = 262144
|
|
net.core.rmem_max = 16777216
|
|
net.core.somaxconn = 262144
|
|
net.core.wmem_max = 16777216
|
|
net.ipv4.tcp_max_syn_backlog = 262144
|
|
net.ipv4.tcp_max_tw_buckets = 6000000
|
|
net.ipv4.tcp_no_metrics_save = 1
|
|
net.ipv4.tcp_rmem = 4096 87380 16777216
|
|
net.ipv4.tcp_syn_retries = 2
|
|
net.ipv4.tcp_synack_retries = 2
|
|
net.ipv4.tcp_tw_reuse = 1
|
|
net.ipv4.tcp_wmem = 4096 65536 16777216
|
|
|