pyroscope / rtorrent-ps

:art: Extended rTorrent distribution with a fully customizable canvas and colors, other feature additions, and complete docs.
http://rtorrent-ps.readthedocs.io/
GNU General Public License v2.0
463 stars 43 forks source link

Weird issue - seeds "frozen" or not killed based on slots.. not re-added to the queue #125

Closed stevezau closed 4 years ago

stevezau commented 4 years ago

Hi,

I have rtorrent-ps to rtorrent-ps transfers. I.E I download some files on one server.. then transfer to another server using rtorrent-ps. There are a number of reasons why, out of scope for what this issue is trying to understand.

First, i limited download slots to 30 on the download server and the seed max uploads are set to 200.

For some reason.. when i start rtorrent on the download server. Let's say it has 100 torrents. On start it shows the download slots at 100/30. So it is overprovisioned. Then it starts to kill the download/peers down to 30. However, the torrent shows the peers still exist but at 0kbs down rate. The problem is when the other peers finish the slots start to open up.. But because the peers are shown as 0kbs it seems rtorrent is in a "stuck state". In other words, it seems rtorrent does not actually kill the peer but it rather sticks in a stuck state which means eventually all downloads grind to a halt.

I can easily stop and restart the individual torrent which kicks it off again.

Any ideas where i can start to trouble shoot whats going on?

stevezau commented 4 years ago

Using Using rTorrent PS-1.1-43-g8be91ab 0.9.6/0.13.6 . On ubuntu 19.10

pyroscope commented 4 years ago

Definitely upstream.