Ktorrent does return from sleep nicely

Hi I have KDE DE in openSUSE 11.4 Tumbleweed.

The issue is with Ktorrent.

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.

  1. Is there an explanation for this?
  2. And is there something I can do to make the torrents resume nicely when I bring the machine back from sleep?

On 2011-04-02 23:36, swerdna wrote:
> - Is there an explanation for this?

That ktorrent is not sleep aware.
Apparently it tries to download from servers that are no longer there, for

Cheers / Saludos,

Carlos E. R.
(from 11.2 x86_64 “Emerald” at Telcontar)

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.