|
@@ -0,0 +1,20 @@
|
|
|
+net.ipv4.tcp_tw_reuse=1
|
|
|
+net.ipv4.tcp_tw_recycle=0
|
|
|
+net.ipv4.ip_local_port_range=1024 65535
|
|
|
+net.ipv4.tcp_fin_timeout=45
|
|
|
+net.core.netdev_max_backlog=10000
|
|
|
+net.ipv4.tcp_max_syn_backlog=12048
|
|
|
+net.core.somaxconn=16384
|
|
|
+net.netfilter.nf_conntrack_max = 512000
|
|
|
+net.ipv4.tcp_syncookies = 1
|
|
|
+#
|
|
|
+# cassandra suggested settings
|
|
|
+#
|
|
|
+net.core.rmem_max = 16777216
|
|
|
+net.core.wmem_max = 16777216
|
|
|
+net.core.rmem_default = 16777216
|
|
|
+net.core.wmem_default = 16777216
|
|
|
+net.core.optmem_max = 40960
|
|
|
+net.ipv4.tcp_rmem = 4096 87380 16777216
|
|
|
+net.ipv4.tcp_wmem = 4096 87380 16777216
|
|
|
+vm.max_map_count = 1048575
|