Skip to content
Newer
Older
100755 10 lines (8 sloc) 317 Bytes
a623033 init
Robert authored
1 #!/usr/bin/env bash
2
3 echo "10152 65535" > /proc/sys/net/ipv4/ip_local_port_range
4 sysctl -w fs.file-max=128000
5 sysctl -w net.ipv4.tcp_keepalive_time=300
6 sysctl -w net.core.somaxconn=250000
7 sysctl -w net.ipv4.tcp_max_syn_backlog=2500
8 sysctl -w net.core.netdev_max_backlog=2500
9 ulimit -n 10240
Something went wrong with that request. Please try again.