Skip to content

Commit

Permalink
Update install_server_centos.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
chinashiyu authored Mar 24, 2020
1 parent bca1208 commit 482d5c9
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions install_server_centos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -106,12 +106,6 @@ function setupSystem() {
echo 'net.ipv4.udp_rmem_min = 8192' >> /etc/sysctl.d/99-perf.conf
echo 'net.ipv4.udp_wmem_min = 8192' >> /etc/sysctl.d/99-perf.conf

#
echo 'net.ipv4.tcp_syncookies = 1' >> /etc/sysctl.d/99-perf.conf
echo 'net.ipv4.tcp_max_syn_backlog = 4096' >> /etc/sysctl.d/99-perf.conf
echo 'net.ipv4.tcp_synack_retries = 3' >> /etc/sysctl.d/99-perf.conf
echo 'net.ipv4.conf.all.rp_filter = 1' >> /etc/sysctl.d/99-perf.conf

sysctl -q --system > /dev/null 2>&1

echo -n ""
Expand Down

0 comments on commit 482d5c9

Please sign in to comment.