当使用 screen 运行其他程序时 screen rtorrent 会冻结

当使用 screen 运行其他程序时 screen rtorrent 会冻结

我使用 screen rtorrent,它本身总是运行良好。但是,如果我还打开另一个 screen 实例,那么 rtorrent 会话就会冻结!也许我没有正确打开多个屏幕?下面是一个例子:

$ 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

我觉得这个问题是可重现的 - 你可以尝试使用screen top我上面的复制示例。

我可以使用屏幕上的某些控制命令来修复它吗?或者我应该首先运行具有更多屏幕选项的 rtorrent?

我正在使用 rtorrent 版本 0.8.2 和 screen 版本 4.00.03jw4 (FAU) 2-May-06

答案1

事实证明,复制命令已使 USB 连接达到最大限度。我有一个不稳定的 USB 集线器,它没有供电,似乎以 usb1.1 速度运行 - 我通过此 usb1.1 连接将 rtorrent 的下载内容保存到外部硬盘驱动器上,同时还将文件从此驱动器复制到另一个驱动器。

现在我已经弄清楚了集线器速度慢的原因,我将其移除,并且两个屏幕实例(rtorrent 和cp)可以很好地协同工作。它们都没有冻结 :)

相关内容