vi /etc/sysctl.conf 输入

net.ipv4.tcp_max_tw_buckets = 5000

net.ipv4.tcp_syncookies = 1

net.ipv4.tcp_max_syn_backlog = 1024

net.ipv4.tcp_synack_retries = 2

vm.overcommit_memory=1

vm.panic_on_oom=0

kernel/panic=10

kernel/panic_on_oops=1

net.ipv4.conf.default.rp_filter=0

net.ipv4.conf.all.rp_filter=0

net.ipv4.conf.eth0.rp_filter=0

net.ipv4.conf.default.arp_announce=2

net.ipv4.conf.all.arp_announce=2

kernel.pid_max=65535

results matching ""

    No results matching ""