View previous topic :: View next topic |
Author |
Message |
kang__ n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 22 Aug 2003 Posts: 14
|
Posted: Fri Aug 22, 2003 9:39 am Post subject: mldonkey/kernel freeze |
|
|
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 ![Wink ;)](images/smiles/icon_wink.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
amigafan Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/gallery/TV Stars/picard1.jpg)
Joined: 10 Jul 2003 Posts: 134 Location: Ahrensburg, Germany
|
Posted: Sun Aug 31, 2003 9:47 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
jcataluna n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 15 Apr 2003 Posts: 6
|
Posted: Wed Oct 08, 2003 12:14 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
jcataluna n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 15 Apr 2003 Posts: 6
|
Posted: Thu Oct 09, 2003 8:39 am Post subject: Problem Solved |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
gregolak Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 25 Sep 2003 Posts: 88
|
Posted: Tue Oct 14, 2003 10:42 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
Htwo n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 28 May 2002 Posts: 38
|
Posted: Tue Oct 14, 2003 12:17 pm Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
gregolak Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 25 Sep 2003 Posts: 88
|
Posted: Tue Oct 14, 2003 4:16 pm Post subject: |
|
|
thank you, I will try ! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
chrispy Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 10 Nov 2002 Posts: 228 Location: Tokyo
|
Posted: Wed Oct 15, 2003 12:12 am Post subject: |
|
|
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 |
|
![](templates/gentoo/images/spacer.gif) |
|