PDA

Bekijk de volledige versie : The "ip_conntrack_max" Error,Is there Another Solve?



iamchating
07-05-2006, 13:41
I am using P2P software heavily, and every 2 days I receive the "ip_conntrack_max" error


The Common Soluation is using
"echo 4096 > /proc/sys/net/ipv4/ip_conntrack_max"
to set the ip_conntrack_max value to a higer value

The disadvantages is it takes too much memory


After a lot of Google I found a new way

that is set " ip_conntrack_tcp_timeout_established " to a lower value


The Problem is:

I can not find such a "ip_conntrack_tcp_timeout_established" in Oleg's
1.9.2.7-7c firmware How can I change it

Styno
08-05-2006, 08:55
Put something like this in your post-boot or post-firewall script:



echo $((24*3600)) >/proc/sys/net/ipv4/netfilter/ip_conntrack_tcp_timeout_established