FastHandle is fast operation tools for infrastructure configurations and tests.
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
os:linux:set:kernel:etc_sysctl.conf.html [2017/11/27 00:15] kurihara [/etc/sysctl.conf] |
os:linux:set:kernel:etc_sysctl.conf.html [2018/02/04 23:24] kurihara ↷ Links adapted because of a move operation |
||
---|---|---|---|
Line 1: | Line 1: | ||
~~NOTOC~~ | ~~NOTOC~~ | ||
- | [[os: | + | [[os:linux:set: |
- | ====== / | + | ====== / |
Line 32: | Line 32: | ||
# Network | # Network | ||
# | # | ||
- | # keepalive | + | # TCP keepalive |
net.ipv4.tcp_keepalive_time = 60 # defautl 7200 | net.ipv4.tcp_keepalive_time = 60 # defautl 7200 | ||
net.ipv4.tcp_keepalive_intvl = 3 # default 75 | net.ipv4.tcp_keepalive_intvl = 3 # default 75 | ||
Line 39: | Line 39: | ||
# 60sec + 3sec * 9 = 567sec = 9.56min | # 60sec + 3sec * 9 = 567sec = 9.56min | ||
- | + | # tcp connection | |
- | # disable IPv6 (CentOS7) | + | net.nf_conntrack_max |
- | net.ipv6.conf.all.disable_ipv6 = 1 | + | |
- | net.ipv6.conf.lo.disable_ipv6 = 1 | + | |
- | net.ipv6.conf.default.disable_ipv6 | + | |
# port exhaustion | # port exhaustion | ||
Line 53: | Line 50: | ||
net.ipv4.tcp_tw_reuse = 1 | net.ipv4.tcp_tw_reuse = 1 | ||
+ | |||
+ | # disable IPv6 (CentOS7) | ||
+ | net.ipv6.conf.all.disable_ipv6 = 1 | ||
+ | net.ipv6.conf.lo.disable_ipv6 = 1 | ||
+ | net.ipv6.conf.default.disable_ipv6 = 1 | ||
Line 71: | Line 73: | ||
\\ | \\ | ||
\\ | \\ | ||
- | [[os: | + | [[os:linux:set: |
My Sites
SNS
Copyright (c) 2024 FastHandle - IT Operations Examples All Rights Reserved.