aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: After ADSL reconnect aMule doesn't acquire new connection  (Read 3792 times)

myth

  • Global Moderator
  • Hero Member
  • *****
  • Karma: 38
  • Offline Offline
  • Posts: 570
After ADSL reconnect aMule doesn't acquire new connection
« on: September 06, 2010, 07:14:36 PM »

Does anybody else have this problem?

Logged

GonoszTopi

  • The current man in charge of most things.
  • Administrator
  • Hero Member
  • *****
  • Karma: 169
  • Offline Offline
  • Posts: 2685
Re: After ADSL reconnect aMule doesn't acquire new connection
« Reply #1 on: September 07, 2010, 08:25:57 PM »

As far as I remember, yes. Stu reported it long ago, but fixing it is not trivial.
Logged
concordia cum veritate

myth

  • Global Moderator
  • Hero Member
  • *****
  • Karma: 38
  • Offline Offline
  • Posts: 570
Re: After ADSL reconnect aMule doesn't acquire new connection
« Reply #2 on: September 07, 2010, 08:50:31 PM »

Shice!
Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: After ADSL reconnect aMule doesn't acquire new connection
« Reply #3 on: September 08, 2010, 10:34:52 PM »

Well, the 24h reconnect common with DSL is handled more or less gracefully (probably with an hour of bad performance or so). Network outages of a few hours or so aren't. After that aMule usually sits dumb and disconnected, even if network is back again.
(At least this is how I remember it from my DSL times, may they rest in pieces.  :P)

But a GonoszTopi said, this is not trivial, and thus not in 2.3 (unless somebody comes up with a great patch...).
Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon

myth

  • Global Moderator
  • Hero Member
  • *****
  • Karma: 38
  • Offline Offline
  • Posts: 570
Re: After ADSL reconnect aMule doesn't acquire new connection
« Reply #4 on: September 09, 2010, 12:17:56 AM »

Connection check things cannot work because we can't ping for user right issues, right?

Something must be possible...

Maybe we can do a simple check when upload falls down to 0?
Logged

myth

  • Global Moderator
  • Hero Member
  • *****
  • Karma: 38
  • Offline Offline
  • Posts: 570
Re: After ADSL reconnect aMule doesn't acquire new connection
« Reply #5 on: September 11, 2010, 02:51:48 PM »

Can't we ping with a syscall like system(ping) ?

If it's not possible we could implement a own ping program for icmp!
Logged

GonoszTopi

  • The current man in charge of most things.
  • Administrator
  • Hero Member
  • *****
  • Karma: 169
  • Offline Offline
  • Posts: 2685
Re: After ADSL reconnect aMule doesn't acquire new connection
« Reply #6 on: September 11, 2010, 11:45:25 PM »

Whom to ping? Another user? He might have gone offline since we last saw him... Or a fixed destination (like www.amule.org)? See Ping flood

A reasonable solution should
  • decide when it should check for network connectivity
  • properly select a more-or-less random (but still reliable) destination for the test

That's why I said it was not trivial.
Logged
concordia cum veritate

myth

  • Global Moderator
  • Hero Member
  • *****
  • Karma: 38
  • Offline Offline
  • Posts: 570
Re: After ADSL reconnect aMule doesn't acquire new connection
« Reply #7 on: September 12, 2010, 12:55:08 AM »

Well, it could be useful looking at StulleMule sources, which has "connection check" ;)

Logged