LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-25-2006, 06:40 PM   #1
beejayzed
Member
 
Registered: Jan 2004
Location: Auckland, New Zealand
Distribution: Ubuntu
Posts: 686

Rep: Reputation: 30
Linux + Opera/Konq = CRASHED router (under stress)


Hi (NOTE, if you don't want to read my tests, just read the first and last paragraph)

I have a dynalink RTA1320 router.
I find that it crashes when lots of things are downloading at once.
e.g If I open 6+ pages on a forum with avatars that has 50 messages per page.
There is a catch though, it only happens with opera and konqueror under linux. Specifically, I have experienced this in Debian Sid, Ubuntu and Mandriva.

TESTS:
I have a forum which crashes the router quite reliably!
That is, neogaf.com.
Now, I tested firefox, opera and konqueror by opening several pages on that forum. As I said, opera and konqueror crashed it, however, firefox just opened them without crashing the router!

I did the ame test on a different pc with windows on it using opera and mozilla. Neither of them crashed the router.

So, are there any settings related to networking in linux that might alleviate this problem?
I noticed in windows that opera seemed to sort of stall for a while after it had opened several pages (this is the point I expected the router to crash, but it didn't)

Thanks in advance for help!
 
Old 10-27-2006, 08:46 AM   #2
blackhole54
Senior Member
 
Registered: Mar 2006
Posts: 1,896

Rep: Reputation: 61
Maybe I can help you take a small bite out of this problem (or not). Opera has settings
(pref -> advanced -> network) for the max allowed connections to a server and max total connections. Would maybe reducing these settings help? If so, it might give you a clue for Konqueror.

As far as setttings in the OS itself are concerned, the only thing I could think of was some sort of throttling, which is beyond my knowledge.
 
Old 10-30-2006, 02:53 AM   #3
beejayzed
Member
 
Registered: Jan 2004
Location: Auckland, New Zealand
Distribution: Ubuntu
Posts: 686

Original Poster
Rep: Reputation: 30
Hi blackhole, thanks for your suggestion. I've tried changing that setting in opera and after a few days it seems it helps.
However, it still crashes often.
The problem is that my mom likes to click these manual surf sites, she usually has about 10-20 open, and that sometimes crashes the router.

So hopefully someone who has a good knowledge of linux networking can suggest something else.
 
Old 10-31-2006, 08:16 PM   #4
beejayzed
Member
 
Registered: Jan 2004
Location: Auckland, New Zealand
Distribution: Ubuntu
Posts: 686

Original Poster
Rep: Reputation: 30
If anyone is wondering, I managed to stop the crashing.

The first step was disabling IPV6. This step prevented the router from crashing when loading a page full of pictures form certain hosts (like myspace and image avenue).
It was still crashing with the neogaf forum though.
So I went and added these to /etc/sysctl.conf

# Disables IP dynaddr
net.ipv4.ip_dynaddr = 0
# Disable ECN
net.ipv4.tcp_ecn = 0
# Controls source route verification
net.ipv4.conf.default.rp_filter = 1

net.ipv4.icmp_ignore_bogus_error_responses=0
net.ipv4.conf.all.rp_filter=0
net.ipv4.icmp_echo_ignore_broadcasts=0
net.ipv4.icmp_echo_ignore_all=0
net.ipv4.conf.all.log_martians=0

I got them from an old installation which I had customised.
I don't know which exactly did it, but it seems to have stopped crashing under normal use now.
 
Old 10-31-2006, 10:01 PM   #5
blackhole54
Senior Member
 
Registered: Mar 2006
Posts: 1,896

Rep: Reputation: 61
Does anybody know where those sysctl parameters are described (other than source code)?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Stress Test In Linux? carlosinfl Linux - Hardware 9 08-16-2012 08:56 PM
Help i've broken kde and konq tf1 Linux - Software 3 02-23-2005 12:52 PM
flash plugin for Konq Trio3b Linux - Software 0 02-22-2005 11:59 AM
Konq/kdeinit problem wrat Linux - Newbie 3 12-11-2004 08:52 AM
pre-compiled CPU stress program for linux glock19 Linux - General 1 11-01-2001 12:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:34 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration