transfer.sh/.ebextensions/02sysctl.config

14 lines
368 B
Text
Raw Normal View History

2014-11-15 00:11:31 +01:00
files:
2014-11-15 00:39:13 +01:00
"/etc/sysctl.d/01-tcp-tuning.conf":
2014-11-15 00:11:31 +01:00
mode: "000644"
owner: root
group: root
content: |
net.ipv4.tcp_wmem = 4096 16384 512000
net.ipv4.tcp_rmem = 4096 87380 512000
net.ipv4.tcp_window_scaling = 0
net.ipv4.tcp_timestamps = 0
2014-11-15 00:59:52 +01:00
commands:
"load_tuning":
command: sysctl -p /etc/sysctl.d/01-tcp-tuning.conf