Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
en:dpi:faq:ddos_faq:ddos_os_parameters [2020/04/21 14:21] – lexx26 | en:dpi:faq:ddos_faq:ddos_os_parameters [2024/07/29 12:35] (current) – removed elena.krasnobryzh | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== 1 Optimization OS network stack settings for the Web servers ====== | + | |
- | {{indexmenu_n> | + | |
- | # The web server OS network stack optimization | + | |
- | <code bash> | + | |
- | net.core.netdev_max_backlog=10000 | + | |
- | net.core.somaxconn=262144 | + | |
- | net.ipv4.tcp_syncookies=1 | + | |
- | net.ipv4.tcp_max_syn_backlog = 262144 | + | |
- | net.ipv4.tcp_max_tw_buckets = 720000 | + | |
- | net.ipv4.tcp_tw_recycle = 1 | + | |
- | net.ipv4.tcp_timestamps = 1 | + | |
- | net.ipv4.tcp_tw_reuse = 1 | + | |
- | net.ipv4.tcp_fin_timeout = 30 | + | |
- | net.ipv4.tcp_keepalive_time = 1800 | + | |
- | net.ipv4.tcp_keepalive_probes = 7 | + | |
- | net.ipv4.tcp_keepalive_intvl = 30 | + | |
- | net.core.wmem_max = 33554432 | + | |
- | net.core.rmem_max = 33554432 | + | |
- | net.core.rmem_default = 8388608 | + | |
- | net.core.wmem_default = 4194394 | + | |
- | net.ipv4.tcp_rmem = 4096 8388608 16777216 | + | |
- | net.ipv4.tcp_wmem = 4096 4194394 16777216 | + | |
- | </ | + |