Deluge 'throttling'

General support for problems installing or using Deluge
Post Reply
Vise
New User
New User
Posts: 2
Joined: Mon Jul 15, 2024 8:54 am

Deluge 'throttling'

Post by Vise »

Hi,
I am currently running deluge on a proxmox server in a lxc container.
My issue is downloads will start out fine then grind to a halt at some random point thoughout it. Occasionally restarting the container will give them a new lease on life however eventually returning to virtually 0. This same thing was happening with qbittorrent.
I have change internet service providers recently, however. It seems like I can torrent on my windows PC without issue. I have run download tests on the LXC container also and it seems to be fine to download a 10gig file without issue if not through the torrent client.
I am not very good with port forwarding in routers .
As a result of this issue I also got a Privateinternet access account and opened a openwrt router so I could route the LXC container through a vpn. Still the same thing.
I am really at a loss. If you require more details on my setup happy to prived.
User avatar
ambipro
Moderator
Moderator
Posts: 672
Joined: Thu May 19, 2022 3:33 am
Contact:

Re: Deluge 'throttling'

Post by ambipro »

Which version of libtorrent are you using? Given you're running in a VM it could be a memory limitation and I/O issue. If you are using libtorrent 2, which would be what would be potentially problematic in those respects, I'd suggest trying the latest version of 1.2.x that you can of libtorrent instead.

I don't think its related to your internet, mainly since on VPN and other computers on the network it is the same...but this would just be my first guess due to some of the behavior you are citing and how restarting the container "resetting" the stalling.

You can read about the issue I'm thinking might be a factor on libtorrent's github issue https://github.com/arvidn/libtorrent/issues/6667 - but as I don't know the specs of the container or host machine or whatever, this is just a thought I had.
Vise
New User
New User
Posts: 2
Joined: Mon Jul 15, 2024 8:54 am

Re: Deluge 'throttling'

Post by Vise »

Client: 2.1.1
Server: 2.1.1

libtorrent: 2.0.8.0

I guess it could be the issue as lobtorrent is v2. Going to try and downgrade however, I'm struggling to find instructions to do so (pretty noob)
User avatar
ambipro
Moderator
Moderator
Posts: 672
Joined: Thu May 19, 2022 3:33 am
Contact:

Re: Deluge 'throttling'

Post by ambipro »

I'm not familiar with proxmox or LXC containers. I use docker, and maintain my own container for it. Unfortunately I won't be able to really outline instructions on this, as I don't want to give you incorrect information or guess at what you would need to do.

Conceptually, you need to uninstall libtorrent's 2.0.x package and install 1.2.x...

I use pip when I'm not using a container, I'd assume you'd have some package manager available like apt, pacman, yum, etc. It should all be the same idea, different syntax.

Close deluge, uninstall current libtorrent package, reinstall pinned version that you want, start deluge. Check the libtorrent version in deluge that you're using to confirm.
aks
New User
New User
Posts: 1
Joined: Sun Aug 25, 2024 6:44 pm

Re: Deluge 'throttling'

Post by aks »

@ambipro could you share how you're handling deluge in docker with an older version of libtorrent?
I use docker as well and have the same issue as OP with the mention that for me it only happens when I download music(i think smaller file size but I can't confirm). I use the lscr.io/linuxserver/deluge:latest image
Thanks!
User avatar
ambipro
Moderator
Moderator
Posts: 672
Joined: Thu May 19, 2022 3:33 am
Contact:

Re: Deluge 'throttling'

Post by ambipro »

aks wrote: Sun Aug 25, 2024 6:50 pm @ambipro could you share how you're handling deluge in docker with an older version of libtorrent?
I use docker as well and have the same issue as OP with the mention that for me it only happens when I download music(i think smaller file size but I can't confirm). I use the lscr.io/linuxserver/deluge:latest image
Thanks!
I maintain my own docker container using binhex's base (arch base) rather than alpine with an s6 overlay (which is what linuxserver does)

I was considering looking into making a container off an alpine base but with libtorrent v1 today before I even saw your post. The thing is though, I have contact with linuxserver maintainers and could probably ask and help them to do it officially, which would probably be "better".

If you'd like to check out my container (as always when switching containers you should stop your current one and make a backup of your /config mount, or make a copy of it to be mounted in the new container) - but you CAN use my container/package with the same configs/state/plugins obviously (just BE SURE TO ALWAYS BACKUP!!! :P).

Be advised that mine does run the latest develop version of deluge (currently dev110) and libtorrent 1.2.19. The arch base is also significantly larger than alpine. I can also make a tag/container for a branch for you if you have specific needs that make sense.

https://github.com/zakkarry/arch-deluge ... rch-deluge
User avatar
ambipro
Moderator
Moderator
Posts: 672
Joined: Thu May 19, 2022 3:33 am
Contact:

Re: Deluge 'throttling'

Post by ambipro »

aks wrote: Sun Aug 25, 2024 6:50 pm @ambipro could you share how you're handling deluge in docker with an older version of libtorrent?
I use docker as well and have the same issue as OP with the mention that for me it only happens when I download music(i think smaller file size but I can't confirm). I use the lscr.io/linuxserver/deluge:latest image
Thanks!
As an update, I'm working with a maintainer as we speak to get linuxserver going with a libtorrent v1 deluge image.

Not sure when it will be live on their lscr.io image repository. I'll update you when it is.
User avatar
ambipro
Moderator
Moderator
Posts: 672
Joined: Thu May 19, 2022 3:33 am
Contact:

Re: Deluge 'throttling'

Post by ambipro »

aks wrote: Sun Aug 25, 2024 6:50 pm @ambipro could you share how you're handling deluge in docker with an older version of libtorrent?
I use docker as well and have the same issue as OP with the mention that for me it only happens when I download music(i think smaller file size but I can't confirm). I use the lscr.io/linuxserver/deluge:latest image
Thanks!
lscr.io/linuxserver/deluge:libtorrentv1

Good to go :)
Post Reply