Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

i use screen rtorrent and it always works fine by itself. however if i also open another instance of screen then the rtorrent session freezes! maybe i am not opening multiple screens correctly? here is an example:

$ screen rtorrent # works fine - i can move around with the arrow keys and the page refreshes when things like the download rate change
$ ctrl a+d # exit rtorrent and return to the shell
$ screen cp /tmp/x1 /tmp/x2 # assume x1 is very large so this takes a long time
$ ctrl a+d # exit the copying and return to the shell
$ screen -ls
There are screens on:
        26608.pts-0.hostname (18/08/11 10:15:39)     (Detached)
        8329.pts-0.hostname  (17/08/11 13:44:00)     (Detached)
2 Sockets in /var/run/screen/S-username.
$ screen -r 8329.pts-0.hostname # resume rtorrent and now it is frozen - i cannot move around with arrow keys and the page never updates

does anyone know a solution? i have a feeling this problem is repeatable - you could try using screen top instead of my copying example above to simulate it.

is there some control command i can press in screen to fix it or should i run rtorrent with more screen options in the first place?

i am using rtorrent version 0.8.2 and screen version 4.00.03jw4 (FAU) 2-May-06

thanks in advance!

share|improve this question

1 Answer 1

up vote 0 down vote accepted

it turns out that the copy command was maxing out the usb connection. i have a dodgy usb hub which is unpowered and seems to run at usb1.1 speeds - i was saving the downloads from rtorrent onto an external hard drive over this usb1.1 connection whilst also copying files from this drive to another drive.

now that i have figured out that the hub was slow i removed it and the two instances of screen (rtorrent and cp) work fine together. neither of them freezes :)

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.