Skip to content

Commit 83e040a

Browse files
committed
better sock-config script
1 parent 49a352f commit 83e040a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

sock-config.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ sysctl -w net.ipv4.tcp_mem="100000000 100000000 100000000"
1212
sysctl -w net.ipv4.tcp_rmem='4096 4096 4096'
1313
sysctl -w net.ipv4.tcp_wmem='4096 4096 4096'
1414

15-
## sysctl -w net.core.rmem_default=4096
16-
## sysctl -w net.core.wmem_default=4608
15+
sysctl -w net.core.rmem_default=4096
16+
sysctl -w net.core.wmem_default=4608
1717

18-
## sysctl -w net.core.rmem_max=4096
19-
## sysctl -w net.core.wmem_max=4608
18+
sysctl -w net.core.rmem_max=4096
19+
sysctl -w net.core.wmem_max=4608

0 commit comments

Comments
 (0)