Page 1 of 1

Cache not working on a Debian 12 + Deluge 2.0.3

Posted: Sun Jun 02, 2024 2:36 pm
by Mishovur
I've been using Deluge for years, starting with Debian 8.
And never had any problems with it.

About a month ago I have upgraded to Debian 12 (from 11) and installed the latest Deluge.
The 'Disk Cache' not working, no matter what numbers I enter - nada.
Thing is I'm seeding a lot of torrents, about 50TB in total, and I have 128GB Ram, mainly to use as a cache.
Before I had about 95% of all 'reads' and 99% of all 'writes' cached.

Is it a known bug? In 2.0.1 everything worked just fine, 2.0.3 - and well my HDDs are seeking constantly.
Changes are
1. Upgrade from Deb 11 to Deb 12
2. Upgrade from Deluge 2.0.1 to 2.0.3
3. I have moved the torrents to new disks 22TB WD Gold instead of 14TB WD Gold

Image

Re: Cache not working on a Debian 12 + Deluge 2.0.3

Posted: Mon Jun 03, 2024 12:10 am
by ambipro
It's possible you are using libtorrent 2.x and the caching is a 1.x feature. Check the package for libtorrent you have installed.

Also we are on 2.1.1 now, a lot of repos are outdated on this. I'd suggest you use the PPA to install the latest as well.

Re: Cache not working on a Debian 12 + Deluge 2.0.3

Posted: Mon Jun 03, 2024 1:28 am
by Mishovur
Well the PPA for older ubuntu you linked not working - it gives an errors, saying 'can not connect to server', essentially, and I have tried it before, on my own, ofc, I tend to read first before I start to ask for help :)


"
The repository may no longer be available or could not be contacted because of network problems. If available an older version of the failed index will be used. Otherwise the repository will be ignored. Check your network connection and ensure the repository address in the preferences is correct.

GPG error: http://ppa.launchpad.net/deluge-team/ppa/ubuntu trusty InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY C5E6A5ED249AD24CThe repository 'http://ppa.launchpad.net/deluge-team/ppa/ubuntu trusty InRelease' is not signed.

"

I double-checked. The 'trusty' (ubuntu LTS 14.04) was discontinued couple of months ago.
So that's why....

Re: Cache not working on a Debian 12 + Deluge 2.0.3

Posted: Sat Jun 08, 2024 5:57 pm
by Mishovur
Ok.. I used Sid repository, and upgraded to 2.1.2
No change with Deluge, checking more ideas, also the statistics screen is finally fixed now :)))

Re: Cache not working on a Debian 12 + Deluge 2.0.3

Posted: Thu Jun 20, 2024 12:38 pm
by DoYouWantKarate
I am seeing the same thing. (Greetings, fellow Deluge GTK user! :D Sometimes I think I am the only one.)

Debian trixie
Deluge 2.1.2dev0
libtorrent 2.0.10.0

FWIW these "recent" 2.1.2 development versions have fixed a lot of other issues. Huge improvement! :thumbsup:

Re: Cache not working on a Debian 12 + Deluge 2.0.3

Posted: Thu Jun 20, 2024 5:49 pm
by ambipro
Once again, libtorrent 2.x does not have the caching features that Deluge manages with this preferences page. It uses memory mapping of files instead.

Caching options will never "work" with version 2.0 of libtorrent in the way that they did previously.

You need to use libtorrent 1.2.x