Files
openGauss-OM/script/gspylib/inspection/config/check_list_V1R6C10.conf
2021-07-10 16:29:20 +08:00

53 lines
1.6 KiB
Plaintext

#The file(check_list.conf) is the gs_check and gs_checkos configuration file.
#The file is placed in $GPHOME/script/util
# the system control parameter
[/etc/sysctl.conf]
net.ipv4.tcp_max_tw_buckets = 10000
net.ipv4.tcp_tw_reuse = 1
net.ipv4.tcp_tw_recycle = 1
net.ipv4.tcp_keepalive_time = 30
net.ipv4.tcp_keepalive_intvl = 30
net.ipv4.tcp_keepalive_probes = 9
net.ipv4.tcp_retries2 = 80
net.core.wmem_max = 21299200
net.core.rmem_max = 21299200
net.core.wmem_default = 21299200
net.core.rmem_default = 21299200
kernel.sem = 250 6400000 1000 25600
net.ipv4.tcp_rmem = 8192 250000 16777216
net.ipv4.tcp_wmem = 8192 250000 16777216
# vm.min_free_kbytes would set to 5% of total system memory real time, total system memory get with cmd: free -k|grep Mem|awk '{print $2}'.
vm.min_free_kbytes = total_system_memory*5%
net.core.netdev_max_backlog = 65535
net.ipv4.tcp_max_syn_backlog = 65535
net.core.somaxconn = 65535
net.ipv4.tcp_syncookies = 1
vm.overcommit_memory = 0
vm.panic_on_oom = 0;
vm.oom_kill_allocating_task = 0;
# if parameter value is not equal to ths OS's value, print the waring, and not error
[SUGGEST:/etc/sysctl.conf]
net.ipv4.tcp_fin_timeout = 60
net.ipv4.tcp_sack = 1
net.ipv4.tcp_timestamps = 1
net.ipv4.tcp_retries1 = 5
net.ipv4.tcp_syn_retries = 5
net.ipv4.tcp_synack_retries = 5
# open file number, please set it to set '1000000'
[/etc/security/limits.conf]
open files = 1000000
stack size = 3072
# network parameter
# if the level of network is greater or equal to 10000Mb/s, please set RX/TX to 4096;
# we will check if the MTU is greater or equal to 1500, but gs_checkos dose not set it.
# else, skip it.
[/sbin/ifconfig]
MTU = 1500
RX = 4096
TX = 4096