Page 1 of 1
Deluge gets slower the longer it runs
Posted: Sat Oct 03, 2015 9:04 am
by finnero
I have hundreds of torrents loaded in Deluge. About half are paused now. The other half are complete. When I first start Deluge, all those that are completed automatically start as "Queued", then slowly, slowly make their way over to "seeding". As I unpause more downloads in small groups, the torrents start connecting and downloading. And for a while, downloading is fast. But after it runs for a while, it seems like it takes longer and longer to make connections. I select a few torrents and select "resume" and they scrape (I see the total seeders and leechers), then they just sit there for minutes before they connect and start downloading. There may be several seeds or even dozens but it only connects to 1 or 2. Eventually downloading comes to a crawl, and I have to close Deluge and start it up again, then downloading is fast again for a while.
Why does this happen, and is there anything I can do to avoid this behavior?
Re: Deluge gets slower the longer it runs
Posted: Sat Oct 03, 2015 12:57 pm
by Shryp
Updating libtorrent to a new version might help if you have an old build.
Alternatively, what is your max global connection limit set to? It could be that you have just maxed your connection limits. Could this also be a limitation of your router or OS? Does it happen with other torrent clients?
Re: Deluge gets slower the longer it runs
Posted: Sat Oct 03, 2015 1:51 pm
by finnero
I'm on the latest version of Deluge.
Max global connections is set to default of 200. Max download speed is -1. Max half-open connections is 8. Max connection attempts per second is 20.
I have fiber internet. Other torrent clients max out my bandwidth when possible.
It seems to do better when I don't have tons of torrents seeding. I find I have to babysit Deluge. I can't just throw things in the queue, because more torrent start downloading than what I have set for total active downloading in the queue options (doesn't make any sense why). It's been doing better for me this morning since I restarted Deluge and left most of my torrents paused instead of seeded. In other clients it's trivial to highlight all completed, stopped torrents and select start or resume, and they all instantly start seeding. With Deluge, it goes into a queue mode and takes ages to start seeding a few at a time, and it seems to affect my ability to connect and download.
Re: Deluge gets slower the longer it runs
Posted: Sat Oct 03, 2015 2:04 pm
by Shryp
You settings seem awful low to me if you are indeed attempting to run hundreds of torrents at once.
Re: Deluge gets slower the longer it runs
Posted: Sat Oct 03, 2015 2:12 pm
by finnero
Do you have any recommendations on what to set them at? I'm only downloading around 10-20 torrents at a time. The rest are either paused, queued or seeding. I have a total of around 1,600 torrents currently loaded.
Re: Deluge gets slower the longer it runs
Posted: Sat Oct 03, 2015 9:53 pm
by Shryp
I would say a minimum of 50 connections per torrent. That would be 2000 global connections for 20 torrents. The max half open you could also try raising to around 40 or so and maybe 50 per second. I think most of those settings are going to depend on what your router is capable of. If you currently have 200 as your max global connections and 100 as your max per torrent connections your first 2 torrents will use all your slots and the rest will get none.
Re: Deluge gets slower the longer it runs
Posted: Sun Oct 04, 2015 12:55 am
by finnero
Thank you. I'll give those numbers a try.