Rtorrent hangs
Forum » Forum / Torrent programs » Rtorrent hangs
Started by: johanfajohanfa
On: 1191394280|%e %b %Y, %H:%M %Z|agohover
Number of posts: 26
rss icon RSS: New posts
Rtorrent hangs
johanfajohanfa 1191394280|%e %b %Y, %H:%M %Z|agohover

I run dtach and rtorrent on my Mybook WE 1. At first rtorrent where stable, but seems to have gotten more and more unstable. Now I can run it only a few minutes before the process hangs and goes to D or Ds+ status, which can not be killed!.
Has anyone else got this problem? (I have upgraded to the latest stable release of both libtorrent and rtorrent, and I've been trying running it both as root and regular user and both in a dtach-socket and in a regular terminal. No difference what so ever.

Reply  |  Options
Unfold Rtorrent hangs by johanfajohanfa, 1191394280|%e %b %Y, %H:%M %Z|agohover
Re: Rtorrent hangs
jan2001jan2001 1191398853|%e %b %Y, %H:%M %Z|agohover

i've got the same problem!!

Reply  |  Options
Unfold Re: Rtorrent hangs by jan2001jan2001, 1191398853|%e %b %Y, %H:%M %Z|agohover
Re: Rtorrent hangs
obenturkobenturk 1191422170|%e %b %Y, %H:%M %Z|agohover

I have the same problem but it only occurs when torrents are greater than 700 mb… I download 5 x 700 mb divx no hangs but when I tried to download 1.4 gb divx it hanged… I think this is related with file size and rtorrent issue not mbwe…

Reply  |  Options
Unfold Re: Rtorrent hangs by obenturkobenturk, 1191422170|%e %b %Y, %H:%M %Z|agohover
Re: Rtorrent hangs
johanfajohanfa 1191475417|%e %b %Y, %H:%M %Z|agohover

Yeah that seams right! I too have some big files in my list…. But the question then is if this is an mybook-problem or an rtorrent-problem ?

Reply  |  Options
Unfold Re: Rtorrent hangs by johanfajohanfa, 1191475417|%e %b %Y, %H:%M %Z|agohover
Re: Rtorrent hangs
anandusanandus 1191491807|%e %b %Y, %H:%M %Z|agohover

It looks like it's hanging during the hashing of larger files, no?

Reply  |  Options
Unfold Re: Rtorrent hangs by anandusanandus, 1191491807|%e %b %Y, %H:%M %Z|agohover
Re: Rtorrent hangs
sTssTs 1191833713|%e %b %Y, %H:%M %Z|agohover

that is where mine hangs (hashing large files) … but as that is all I download I have ceased trying. would be great if someone could work out what the issue is and have a crack at fixing it or if there are any other torrent clients out there that work ok that would be cool too.

Reply  |  Options
Unfold Re: Rtorrent hangs by sTssTs, 1191833713|%e %b %Y, %H:%M %Z|agohover
Re: Rtorrent hangs
johanfajohanfa 1192023687|%e %b %Y, %H:%M %Z|agohover

Here comes a small tip for the Rtorrent-issue…. it seem to work … at least my client hasnt hung yet…with quite a few gigs downloaded….
1. Clear your list, empty the client so no downloads are active.
2. Run rtorrent in a dtach/screen-socket, and never ever shut the client down.
3. Download whatever you want without the hanging!

Seems like as said before in this thread the issue is when restarting the client… so just skip that step and it seems like you'll be fine… ;)

Reply  |  Options
Unfold Re: Rtorrent hangs by johanfajohanfa, 1192023687|%e %b %Y, %H:%M %Z|agohover
Re: Rtorrent hangs
anandusanandus 1192034222|%e %b %Y, %H:%M %Z|agohover

I tried, but it still hangs on big (>1Gb) torrents with me unfortunately :(

johanfa, can you try your method with a big torrent to see if it does or does not hang in your case?
And what rtorrent build are you running? :)

Reply  |  Options
Unfold Re: Rtorrent hangs by anandusanandus, 1192034222|%e %b %Y, %H:%M %Z|agohover
Re: Rtorrent hangs
johanfajohanfa 1192173505|%e %b %Y, %H:%M %Z|agohover

I suppose you mean "try with a big file"? the torrents are never especially big…. ~50k ?

well… eventually my rtorrent hung too…. so my sollution weren't that good…. keep searching …..

Last edited on 1192178356|%e %b %Y, %H:%M %Z|agohover By johanfa + Show more
Reply  |  Options
Unfold Re: Rtorrent hangs by johanfajohanfa, 1192173505|%e %b %Y, %H:%M %Z|agohover
Re: Rtorrent hangs
anandusanandus 1193165951|%e %b %Y, %H:%M %Z|agohover

\o/

Apparently with the newest libtorrent it doesn't hang anymore! :D

Reply  |  Options
Unfold Re: Rtorrent hangs by anandusanandus, 1193165951|%e %b %Y, %H:%M %Z|agohover
Re: Rtorrent hangs
johanfajohanfa 1193166764|%e %b %Y, %H:%M %Z|agohover

And which version would that be ??

Reply  |  Options
Unfold Re: Rtorrent hangs by johanfajohanfa, 1193166764|%e %b %Y, %H:%M %Z|agohover
Re: Rtorrent hangs
anandusanandus 1193168442|%e %b %Y, %H:%M %Z|agohover

11.8 :)

Reply  |  Options
Unfold Re: Rtorrent hangs by anandusanandus, 1193168442|%e %b %Y, %H:%M %Z|agohover
Re: Rtorrent hangs
johanfajohanfa 1193208781|%e %b %Y, %H:%M %Z|agohover

ahh…will try that!

Reply  |  Options
Unfold Re: Rtorrent hangs by johanfajohanfa, 1193208781|%e %b %Y, %H:%M %Z|agohover
Re: Rtorrent hangs
obenturkobenturk 1193261972|%e %b %Y, %H:%M %Z|agohover

I ve tried and hanging more frequently… :((

Reply  |  Options
Unfold Re: Rtorrent hangs by obenturkobenturk, 1193261972|%e %b %Y, %H:%M %Z|agohover
Re: Rtorrent hangs
johanfajohanfa 1193324261|%e %b %Y, %H:%M %Z|agohover

hm thats bad….. I've tried to lower all values in the config file…. lower them much! will see if that helps…..

Reply  |  Options
Unfold Re: Rtorrent hangs by johanfajohanfa, 1193324261|%e %b %Y, %H:%M %Z|agohover
Re: Rtorrent hangs
johanfajohanfa 1193412077|%e %b %Y, %H:%M %Z|agohover

Well….nothing seems to help … that library upgrade did nothing … and niether did my attempts with lowering the values….this sucks!!

Reply  |  Options
Unfold Re: Rtorrent hangs by johanfajohanfa, 1193412077|%e %b %Y, %H:%M %Z|agohover
Re: Rtorrent hangs
ruphruph 1194784942|%e %b %Y, %H:%M %Z|agohover

Have you tried any other torrent client? I wonder if any other works or is this a generic mybook problem…

Reply  |  Options
Unfold Re: Rtorrent hangs by ruphruph, 1194784942|%e %b %Y, %H:%M %Z|agohover
Re: Rtorrent hangs
johanfajohanfa 1194870024|%e %b %Y, %H:%M %Z|agohover

I have tried ctorrent, it works, but its much more primitive….

Reply  |  Options
Unfold Re: Rtorrent hangs by johanfajohanfa, 1194870024|%e %b %Y, %H:%M %Z|agohover
Re: Rtorrent hangs
lasselasse 1194892954|%e %b %Y, %H:%M %Z|agohover

I tested Rtorrent with a lot of diff settings with a 30gb torrent and it hangs a lot while hashing so i switched to transmission witch is fairly easy to install and the performance is great.

Reply  |  Options
Unfold Re: Rtorrent hangs by lasselasse, 1194892954|%e %b %Y, %H:%M %Z|agohover
Re: Rtorrent hangs
WishCowWishCow 1198460533|%e %b %Y, %H:%M %Z|agohover

How did you kill the process? I can't even reboot the WDMB with the hung process,
no matter what I try, kill, killall, reboot, front button, nothing works. Can I just unplug the cable?

Reply  |  Options
Unfold Re: Rtorrent hangs by WishCowWishCow, 1198460533|%e %b %Y, %H:%M %Z|agohover
Re: Rtorrent hangs
johanfajohanfa 1198494337|%e %b %Y, %H:%M %Z|agohover

Well.. it should work with /sbin/reboot if you're root… else… unplug the cable… and dont use rtorrent any more… now there IS a good alternative!! (Transmission, see separate thread..) :) Merry Xmas

Reply  |  Options
Unfold Re: Rtorrent hangs by johanfajohanfa, 1198494337|%e %b %Y, %H:%M %Z|agohover
Re: Rtorrent hangs
WishCowWishCow 1198511265|%e %b %Y, %H:%M %Z|agohover

No unfortunately not even /sbin/reboot works, the command runs fine but no actual reboot takes place.
I have followed the transmission topic, it looks too complicated to me, but I guess I don't have any other choice.

Reply  |  Options
Unfold Re: Rtorrent hangs by WishCowWishCow, 1198511265|%e %b %Y, %H:%M %Z|agohover
Re: Rtorrent hangs
fyshfysh 1199859037|%e %b %Y, %H:%M %Z|agohover

I did an strace on my rtorrent and it kept hanging on the madvise() syscall (seems to be a kernel bug) so i disabled it in libtorrent and everything is working great!
After you run ./configure on libtorrent, just edit the config.h and comment out the #define USE_MADVISE 1 line

Last edited on 1199859058|%e %b %Y, %H:%M %Z|agohover By fysh + Show more
Reply  |  Options
Unfold Re: Rtorrent hangs by fyshfysh, 1199859037|%e %b %Y, %H:%M %Z|agohover
Re: Rtorrent hangs
blorbxblorbx 1200509352|%e %b %Y, %H:%M %Z|agohover

any hope of using this fix for an optware installation? or will i have to install from source?

Reply  |  Options
Unfold Re: Rtorrent hangs by blorbxblorbx, 1200509352|%e %b %Y, %H:%M %Z|agohover
Re: Rtorrent hangs
bzhoubzhou 1200512662|%e %b %Y, %H:%M %Z|agohover
r7535 | bzhou | 2008-01-09 09:58:06 -0800 (Wed, 09 Jan 2008) | 1 line
libtorrent: disable madvise() based on http://mybookworld.wikidot.com/forum/t-21733#post-88873

That happened between 0.11.9-1 and 0.11.9-2

Cheers,

Reply  |  Options
Unfold Re: Rtorrent hangs by bzhoubzhou, 1200512662|%e %b %Y, %H:%M %Z|agohover
Re: Rtorrent hangs
makkerumakkeru 1206273002|%e %b %Y, %H:%M %Z|agohover

Had massive problems with rTorrent on my MB but after commenting out the #define USE_MADVISE 1 it works like a charm.
Well worth the compile-time ;)

Thanks alot for the help guys!

Reply  |  Options
Unfold Re: Rtorrent hangs by makkerumakkeru, 1206273002|%e %b %Y, %H:%M %Z|agohover
New Post
Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License