Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[rtorrent 0.9.4 / libtorrent 0.13.4] rtorrent freeze when no Internet connexion #247

Open
R1kk3r opened this issue Oct 22, 2014 · 5 comments

Comments

@R1kk3r
Copy link

R1kk3r commented Oct 22, 2014

I have a Debian server with rtorrent/rutorrent running. Yesterday, my Internet connexion was not working anymore because of a problem coming from my ISP. I noticed that rutorrent couldn't connect to rtorrent anymore. After killing/starting rtorrent many times, it seems that rtorrent freeze when no Internet connexion. I tried to set the log level to debug but it gave me no clues about what was happening. I don't think it's a critical problem but it could be annoying for people with a unstable internet connexion.

@mrvn
Copy link

mrvn commented Oct 23, 2014

On Wed, Oct 22, 2014 at 12:58:24PM -0700, R1kk3r wrote:

I have a Debian server with rtorrent/rutorrent running. Yesterday, my Internet connexion was not working anymore because of a problem coming from my ISP. I noticed that rutorrent couldn't connect to rtorrent anymore. After killing/starting rtorrent many times, it seems that rtorrent freeze when no Internet connexion. I tried to set the log level to debug but it gave me no clues about what was happening. I don't think it's a critical problem but it could be annoying for people with a unstable internet connexion.


Reply to this email directly or view it on GitHub:
#247

Does it realy freeze or does it block on DNS requests? As far as I can
tell DNS is not done asynchron and when the internet is down this
blocks rtorrent till there is a timeout. Depending on how many
torrents you have and how many different trackers that can take a long
time, esspecially at startup. But rtorrent should react every now and
then.

MfG
Goswin

@slingamn
Copy link
Contributor

slingamn commented Dec 1, 2014

+1; it looks to me like DNS resolution is being done on the same thread that manages the UI.

@shad00m
Copy link

shad00m commented Dec 16, 2014

i have the same problem i have a lot of torrents in and some public torrents have 7 or more udp trackers listed, rtorrent freezes for 30 minutes or so until i can use it again until another torrent is added with udp trackers

is there no way around it ? I've heard about compiling libtorrent with libc-ares but im not sure if that would fix it truly.

@slingamn
Copy link
Contributor

slingamn commented Feb 9, 2015

I think this is a duplicate of issue #180.

@hopeseekr
Copy link

This is certainly a duplicate of #180.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants