This forum has been archived. All content is frozen. Please use KDE Discuss instead.

constant disk writes ?

Tags: None
(comma "," separated)
milikitato
Registered Member
Posts
46
Karma
0

constant disk writes ?

Sat Oct 10, 2020 9:56 pm
Hello,

I've noticed that ktorrent does constant disk writes even if I'm not downloading or uploading.
How can this be fixed?

thanks.
User avatar
Mamarok
Manager
Posts
6071
Karma
16
OS

Re: constant disk writes ?

Tue Oct 13, 2020 4:37 pm
Are you sure it is KTorrent? I can't reproduce this here at all

FWIW: some more information about your system would be useful when asking questions, like App version, distro, exact Plasma version...


Running Kubuntu 22.10 with Plasma 5.26.3, Frameworks 5.100.0, Qt 5.15.6, kernel 5.19.0-23 on Ryzen 5 4600H, AMD Renoir, X11
FWIW: it's always useful to state the exact Plasma version (+ distribution) when asking questions, makes it easier to help ...
milikitato
Registered Member
Posts
46
Karma
0

Re: constant disk writes ?

Wed Oct 14, 2020 4:15 pm
Hi,

o.s.: kde neon up to date as of today (5.20)
ktorrent: up to date as of today (5.2.0)

The torrents are active, but there's no upload or download (nothing in the columns labeled download speed, upload speed)

In iotop I can see 2 ktorrent "commands" . One is labeled "ktorrent [QThread]" and the other is just "ktorrent"
At most every 2 seconds there is a write appearing on one or both of those processes.

thanks
User avatar
Mamarok
Manager
Posts
6071
Karma
16
OS

Re: constant disk writes ?

Thu Oct 15, 2020 10:53 pm
You should check your torrent settings. I tried here again, same KTorrent version. When a torrent is stopped it is not active and there are no disk writes at all.


Running Kubuntu 22.10 with Plasma 5.26.3, Frameworks 5.100.0, Qt 5.15.6, kernel 5.19.0-23 on Ryzen 5 4600H, AMD Renoir, X11
FWIW: it's always useful to state the exact Plasma version (+ distribution) when asking questions, makes it easier to help ...
milikitato
Registered Member
Posts
46
Karma
0

Re: constant disk writes ?

Mon Oct 19, 2020 3:52 pm
Hi,

My settings are to keep seeding regardless of share ratio.

But what I've done now for testing is to stop all torrents, disable dht, set the statistics refresh (just in case) to the longest delay, set the interface refresh to 5000ms. Sadly there is still some writing from ktorrent.

So I guess there's some ktorrent "house keeping"/cleaning/etc that is done in background that requieres disk io and writes, but I don't know what it could be.
User avatar
Mamarok
Manager
Posts
6071
Karma
16
OS

Re: constant disk writes ?

Tue Oct 20, 2020 5:48 pm
did you stop those or did you just pause them? I can't reproduce this here at all. You could also check the ktorrentrc file which you can find in your home directory under .config to see if something there triggers disk access


Running Kubuntu 22.10 with Plasma 5.26.3, Frameworks 5.100.0, Qt 5.15.6, kernel 5.19.0-23 on Ryzen 5 4600H, AMD Renoir, X11
FWIW: it's always useful to state the exact Plasma version (+ distribution) when asking questions, makes it easier to help ...
milikitato
Registered Member
Posts
46
Karma
0

Re: constant disk writes ?

Thu Oct 22, 2020 9:16 pm
Hello,

The torrents are all stopped (clicked on the "stop all torrents" icon).
I tried this on a completly new virtual machine. completly Downloaded a torrent, stopped it, started iotop and waited for the writes to come. No writes. I resized the virtualbox window to compare settings of ktorrent on kde neon vm versus host machine and that's the only time a write for ktorrent happen in the vm.

After setting the same settings on my host than the vm there's still + or - the same writes (4k / 4 seconds) on the host.

I'll wait for a while see if I find something.
I think that at this point I might end up just doing a "sudo apt purge ktorrent", delete everything in .config and home folder relating to ktorrent and reinstall it.

Thanks very much for your time.


Bookmarks



Who is online

Registered users: Bing [Bot], Evergrowing, Google [Bot], rblackwell