Created
August 31, 2018 00:00
-
-
Save bazzilio/f0934397d2cc6ee17c5e21190badf422 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
virsh start pgstandby-preprod | |
ifconfig enp2s0f0 txqueuelen 5000 | |
ifconfig enp2s0f1 txqueuelen 5000 | |
echo 30 > /proc/sys/net/ipv4/tcp_fin_timeout | |
echo 30 > /proc/sys/net/ipv4/tcp_keepalive_intvl | |
echo 5 > /proc/sys/net/ipv4/tcp_keepalive_probes |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* - | |
root - | |
* soft nofile 100000 | |
root soft nofile 100000 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
vm.max_map_count=262144 | |
net.ipv4.tcp_max_syn_backlog=10000 | |
net.core.netdev_max_backlog=10000 | |
net.core.somaxconn=25000 | |
net.ipv4.tcp_rmem=4096 87380 16777216 | |
net.ipv4.tcp_wmem=4096 16384 16777216 | |
net.core.rmem_max = 16777216 | |
net.core.wmem_max = 16777216 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment