有时间在解释一下,这些都是根据实际需要变化的
echo 2048 > /proc/sys/net/ipv4/tcp_max_syn_backlog
echo 21600 > /proc/sys/net/ipv4/netfilter/ip_conntrack_tcp_timeout_established
echo 268435456 >/proc/sys/kernel/shmall
echo 268435456 >/proc/sys/kernel/shmmax
echo 3 > /proc/sys/net/ipv4/tcp_synack_retries
echo 3 > /proc/sys/net/ipv4/tcp_syn_retries
echo 256 > /proc/sys/net/ipv4/neigh/default/gc_thresh1
echo 1024 > /proc/sys/net/ipv4/neigh/default/gc_thresh2
echo 2048 > /proc/sys/net/ipv4/neigh/default/gc_thresh3
echo 6553600 >/proc/sys/net/ipv4/ip_conntrack_max
阅读(854) | 评论(0) | 转发(0) |