Weird router crashes
Saturday brought a very strange behaviour to my Linksys WAG200 router, it started crashing very often.
After some tests I discovered the cause to be bittorrent, whenever I start deluge (with torrents in the queue), the router goes down at random intervals of 10 minutes to an hour. Without bittorrent, it just runs for 8 hours or more...
I don't understand this behaviour though as it wasn't upgraded recently and it has worked fine with bittorrent for nearly a year now...
I hope to get to the bottom of this very annoying behaviour.


Comments
11 comments postedplease stop tagging posts 'planetubuntu' when they clearly don't have anything to do with ubuntu.
Maybe this could help you troubleshooting the problem:
http://www.dd-wrt.com/wiki/index.php/Router_Slowdown
And hey, I am *NOT* a bot! I don't spam.
It's triggered when the number of connections hits a certain point (Somewhere over 300 on most routers). basically, the way I understand it is that memory fills up completely, and the router can no longer execute memory cleanup. Some routers go down completely, some will let packets trickle through at very slow speeds. I fixed it on my old linksys wrt54g v5 by installing DD-WRT and then disabling DHCP client and server (I have a static IP and use static IPs on my network).
I had a similar problem on WRT54GS (running DD-WRT) and it turned out that it happened because the ip session limit value was too low.
Guy, try to see how many connections are opened in your torrent client and also, if you have the means, check how many NAT sessions are active before the crash on your router. Check this out. It happened to me too on an Asus (but with far more than 2000 connections) and on a Draytek Vigor 2700VG (about 2000 connections here).
Most likely the reason is the leakage of open connections Torrenting (especially with DHT) can in some cases leave a ton of open connections around to lots of different hosts and most small routers (even with OpenWRT firmware) cann't really handle that too good.
Solve that and you'll be an unsung hero for a lot of people.
Could also just be failing hardware -- the CPU heats up under the greater load and crashes.
The Linksys WAG200 is a combination device right? a DSL modem + router? combo devices always suck. vhs/dvd players, scanner/printer/fax machine combo units, etc. you should get a better performance router. wonder why some routers cost $30 while some cost $150? faster cpus, more ram, handle more open connections, faster throughput, there are lots of variables.
Check out this router performance chart:
http://www.smallnetbuilder.com/component/option,com_chart/Itemid,189/
i recommend the Netgear RangeMax Dual Band Wireless-N Gigabit Router (WNDR3700) that goes for about $160 now.
It's only a few bytes each time and 99% of our users won't ever trip it in the first place. Not worth the dev time, ship it.
I've had similar problems in the past caused by DHT/PEX, I forget which one it was though. Since the routers and PCs haven't changed, I can only assume that something about the DHT/PEX protocol has changed or evolved and triggering issues that weren't previously. Your first point of call should probably be disabling one of those at a time and seeing if that improves things.
i have problems too by DHT/PEX.could you suggest me something?thanks
email extractor