I recently switched the firmware on my WRT54GL from DD-WRT to Tomato.
I noticed that when I am running torrents, the router tends to lock up. I used to have this problem with DD-WRT but it could be remedied by changing the maximum number of connections and changing the timeouts.
The problem is that the same settings in Tomato are more complicated. In DD-WRT I just needed to make changes to 3 values. In Tomato, I have 12 values to change.
So I was wondering if anyone can provide stable values that will prevent my router from dying from torrents?
I have max connections at 4096, just don't know what to set the other values to. When I drop idle connections, everything is much better.
-
What are the other values?
-
These are my settings:
TCP Timeout: (seconds)
None: 512
Established: 14400
SYN Sent: 120
SYN Received: 60
FIN Wait: 120
Time Wait: 120
Close: 10
Close Wait: 60
Last ACK: 30
Listen: 120
UDP Timeout: (seconds)
Unreplied: 300
Assured: 180 -
You can decrease UDP timeouts. It is fine since UDP is stateless meaning that jobs done if it reaches the other end so you can dispose of it.
I think maxconn at 4096 is a little low.
If the max connection setting cannot be modified via GUI you can do it by modifying systctl values.
Login via SSH
then
sysctl -a | grep maxcon
find the sysctl variable then
Change it with sysctl -w.
WRT54GL and Tomato firmware
Discussion in 'Networking and Wireless' started by arc_lite, Feb 26, 2012.