Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
mldonkey/kernel freeze
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
kang__
n00b
n00b


Joined: 22 Aug 2003
Posts: 14

PostPosted: Fri Aug 22, 2003 9:39 am    Post subject: mldonkey/kernel freeze Reply with quote

Hello,
I'm using mldonkey 2.5.3 and i noticed that it was freezing the kernel sometimes after a few mins, sometimes a bit longer. (my system never crashes in other cases)

I tested it with linux-2.4.20 (xfs-sources, latest) and linux-2.6.0-beta3
I'm getting very much firewall hits sometimes (30-40 per sec)
My configuration in mldonkey allows many connections( 3000) and around 30 conn/sec (defaults are like 300 and 10, but it just takes longer to crash it seems)
This box is also the firewall (bad bad ;P)

When i'm using (way more) connection from computers in my nat, linux doesn't freeze. (eg, using emule and 100 conn/sec, 5000 at time)
Maybe because it goes through NetFilter ConnTrack instead ?

I'll take any suggestion ;)
Back to top
View user's profile Send private message
amigafan
Tux's lil' helper
Tux's lil' helper


Joined: 10 Jul 2003
Posts: 134
Location: Ahrensburg, Germany

PostPosted: Sun Aug 31, 2003 9:47 am    Post subject: Reply with quote

Same here, no solutions so far :( What kind of network interface do you use? I am using a patched nvnet for nforce2 and thought that this one is responsible for the freezes!?

thx..
Back to top
View user's profile Send private message
jcataluna
n00b
n00b


Joined: 15 Apr 2003
Posts: 6

PostPosted: Wed Oct 08, 2003 12:14 pm    Post subject: Reply with quote

Same problem in my linux/firewall/router box. I thimk the problem its on iptables. If i open the firewall completly, (remove all rulles and default to ACCEPT on all chains) the crash never happens.

I suggest to post the rules that we use for emule and isolate the problem. Actually im at work and cant post my rules but late at night i will post them on this thread.
Back to top
View user's profile Send private message
jcataluna
n00b
n00b


Joined: 15 Apr 2003
Posts: 6

PostPosted: Thu Oct 09, 2003 8:39 am    Post subject: Problem Solved Reply with quote

oh well, looking for some major knowledge on iptables ive found the most of iptables configuration utility -> "FireHol". Its simple, commmand line based and with most of rules needed included. Fantastic peace of software.

xMule was runnig over 15h without problems. Thanks coders!!!!!
Back to top
View user's profile Send private message
gregolak
Tux's lil' helper
Tux's lil' helper


Joined: 25 Sep 2003
Posts: 88

PostPosted: Tue Oct 14, 2003 10:42 am    Post subject: Reply with quote

I want to try firehol to have mldonkey working,
what do you have in your firehol.conf for mldonkey ?
I think some ports have to be opened ?

thanks
Back to top
View user's profile Send private message
Htwo
n00b
n00b


Joined: 28 May 2002
Posts: 38

PostPosted: Tue Oct 14, 2003 12:17 pm    Post subject: Reply with quote

on the internet interface add the following firehol rules:

to use mldonkey's edonkey network support add: "client emule accept"
to use mldonkey's overnet network support add : "server custom ovnet tcp/8460 default accept"
to use mldonkey's bittorrent network support add: "server custom torrent tcp/6881:6884 default accept"
Back to top
View user's profile Send private message
gregolak
Tux's lil' helper
Tux's lil' helper


Joined: 25 Sep 2003
Posts: 88

PostPosted: Tue Oct 14, 2003 4:16 pm    Post subject: Reply with quote

thank you, I will try !
Back to top
View user's profile Send private message
chrispy
Apprentice
Apprentice


Joined: 10 Nov 2002
Posts: 228
Location: Tokyo

PostPosted: Wed Oct 15, 2003 12:12 am    Post subject: Reply with quote

Htwo wrote:
to use mldonkey's overnet network support add : "server custom ovnet tcp/8460 default accept"


this won't work as mldonkey picks a random port for overnet each time you install it (and it has to generate new config files) check the various ini files for the value to add to your firewall for overnet.

as for the kernel freezes, try lowering the number of open connections. Sounds like you network card driver takes the kernel down with it (I assume it's compiled in the kernel, right ?)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum