Make ip_conntrack table size larger
authorRon Dreslinski <rdreslin@umich.edu>
Thu, 28 Apr 2005 20:13:30 +0000 (16:13 -0400)
committerRon Dreslinski <rdreslin@umich.edu>
Thu, 28 Apr 2005 20:13:30 +0000 (16:13 -0400)
--HG--
extra : convert_revision : bda54b29cb15144907b186f06517477dea13ba06

configs/boot/nat-spec-surge-client.rcS
configs/boot/natbox-spec-surge.rcS
configs/boot/spec-surge-client.rcS
configs/boot/surge-client.rcS

index a3bc512dbc0fb8736419cf0eb72b797e24d12e17..5e4404a3552c96b7d69aaa50b82697ab7536f00b 100644 (file)
@@ -27,6 +27,8 @@ echo "10000000 10000000 10000000" > /proc/sys/net/ipv4/tcp_rmem
 echo "10000000 10000000 10000000" > /proc/sys/net/ipv4/tcp_wmem
 echo "10000000 10000000 10000000" > /proc/sys/net/ipv4/tcp_mem
 
+echo "262144" > /proc/sys/net/ipv4/ip_conntrack_max
+
 echo "524287" > /proc/sys/net/core/rmem_max
 echo "524287" > /proc/sys/net/core/wmem_max
 echo "524287" > /proc/sys/net/core/optmem_max
index d612424d2b3a6fe22408d5fec77626942f2e4aee..0aac5d3b6ca648afe1fa73f5c3467475af848186 100644 (file)
@@ -23,6 +23,8 @@ echo "100000" > /proc/sys/net/core/netdev_max_backlog
 
 echo "1" > /proc/sys/net/ipv4/ip_forward
 
+echo "262144" > /proc/sys/net/ipv4/ip_conntrack_max
+
 echo "waiting for netserver..."
 /usr/bin/netcat -c -l -p 8000
 
index 6ce2ce9dec736a3949f682a9224404f93781fc56..6931d9e53381fa9ed7c248d07be79f9f1beb5b61 100644 (file)
@@ -24,6 +24,8 @@ echo "10000000 10000000 10000000" > /proc/sys/net/ipv4/tcp_rmem
 echo "10000000 10000000 10000000" > /proc/sys/net/ipv4/tcp_wmem
 echo "10000000 10000000 10000000" > /proc/sys/net/ipv4/tcp_mem
 
+echo "262144" > /proc/sys/net/ipv4/ip_conntrack_max
+
 echo "524287" > /proc/sys/net/core/rmem_max
 echo "524287" > /proc/sys/net/core/wmem_max
 echo "524287" > /proc/sys/net/core/optmem_max
index 208524a9c97d0cb38cc2ccfec071d46fbdade86c..7b9ea041932b77eb47d7bda5ab869b5dd17cfe45 100755 (executable)
@@ -18,7 +18,8 @@ echo "0" > /proc/sys/net/ipv4/tcp_timestamps
 echo "0" > /proc/sys/net/ipv4/tcp_sack
 echo "15" > /proc/sys/net/ipv4/tcp_fin_timeout
 echo "16384" > /proc/sys/net/ipv4/tcp_max_syn_backlog
-                                                                                
+
+echo "262144" > /proc/sys/net/ipv4/ip_conntrack_max                                                                                
 echo "1024 65535" > /proc/sys/net/ipv4/ip_local_port_range
 echo "10000000 10000000 10000000" > /proc/sys/net/ipv4/tcp_rmem
 echo "10000000 10000000 10000000" > /proc/sys/net/ipv4/tcp_wmem