When I put the machine to sleep (suspend to ram) with Ktorrent running and then wake the machine up again, the torrents that were working do resume. But they resume in a very poor fashion, continually going into and out of “stalled” status. This bad connectivity continues indefinitely.
I have to kill Ktorrent and restart it to get good data flow back for the torrents that are running.
Is there an explanation for this?
And is there something I can do to make the torrents resume nicely when I bring the machine back from sleep?
Yes,
And from what I’ve observed it goes far beyond simply trying to download from peers which no longer exist. I’ve also observed ktorrent aggressively using resources to simply maintain its obsolete listing of inactive peers as well.
As noted, solution is to simply stop/restart ktorrent. Best practice is to close ktorrent before going to sleep then you won’t need to forcibly close (aka “kill”) processes.