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 freezes when adding a magnet #234

Open
Nihim opened this issue Sep 9, 2014 · 3 comments
Open

rtorrent 0.9.4 freezes when adding a magnet #234

Nihim opened this issue Sep 9, 2014 · 3 comments

Comments

@Nihim
Copy link

Nihim commented Sep 9, 2014

I won't link a config since I tried it also on my box & a vps using: rtorrent -n so the default settings.
libtorrent / rtorrent: 0.13.4 / 0.9.4 compiled from source.
Box OS: Debian 7 3.12-0.bpo.1-amd64 #1 SMP Debian 3.12.9-1~bpo70+1
vps OS: Debian 7 3.2.0-4-amd64 #1 SMP Debian 3.2.54-2
Both installs are less than 5days old.

What happens is that when I add a manget link it will appear to freeze (totally unresponsive to commands, doesn't update) for some time, afterwards it will randomly freeze again every now and then. Trying to add another magnet will cause it to happen again. Freezes can be several seconds up to minutes.

I saw no spikes on cpu (htop) or I/O (iotop) whatsoever.

I have no debugging skills but I get the feeling it has to do with dht polling or trackers timing out. Since it seems to smooth out over time till I try to add something new.

Strace shows it slowing down and repeating some lines when it "freezes" which appear tracker related?
So it might be related to ticket: #180

Below are pictures from the strace (yes I recorded the behaviour + strace...)
Since obviously I don't know a lot of stuff about linux feel free to tell me if I should do something more / else.

2014-09-09_204331043 mp4_snapshot_01 20_ 2014 09 09_21 53 05
2014-09-09_204331043 mp4_snapshot_02 37_ 2014 09 09_21 54 36

@Nihim
Copy link
Author

Nihim commented Sep 11, 2014

want to update with the fact that rtorrent is now using 100% of one thread, though is responsive (not dling anything atm). Even removing all torrents keeps it at 100%

strace is full of this:

{EPOLLOUT|EPOLLERR|EPOLLHUP, {u32=22, u64=22}}, {EPOLLOUT|EPOLLERR|EPOLLHUP, {u32=14, u64=14}}}, 1024, 213) = 3
epoll_wait(7, {{EPOLLOUT|EPOLLERR|EPOLLHUP, {u32=16, u64=16}}, {EPOLLOUT|EPOLLERR|EPOLLHUP, {u32=22, u64=22}}, {EPOLLOUT|EPOLLERR|EPOLLHUP, {u32=14, u64=14}}}, 1024, 213) = 3
epoll_wait(7, {{EPOLLOUT|EPOLLERR|EPOLLHUP, {u32=16, u64=16}}, {EPOLLOUT|EPOLLERR|EPOLLHUP, {u32=22, u64=22}}, {EPOLLOUT|EPOLLERR|EPOLLHUP, {u32=14, u64=14}}}, 1024, 213) = 3
epoll_wait(7, {{EPOLLOUT|EPOLLERR|EPOLLHUP, {u32=16, u64=16}}, {EPOLLOUT|EPOLLERR|EPOLLHUP, {u32=22, u64=22}}, {EPOLLOUT|EPOLLERR|EPOLLHUP, {u32=14, u64=14}}}, 1024, 213) = 3
epoll_wait(7, {{EPOLLOUT|EPOLLERR|EPOLLHUP, {u32=16, u64=16}},

@rtega
Copy link

rtega commented Oct 18, 2014

I have the same issue on Ubuntu with version 0.9.2-1

@gs11
Copy link

gs11 commented Dec 5, 2014

Same issue with 0.9.2-1 on Debian. I'm fairly sure the issues started recently without any recent updates of rtorrent.

Tried 0.9.4 w/ libtorrent 0.13.4 compiled from source...same problem.

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

3 participants