Comments (14)
echo -e '#!/bin/sh\nexec systemctl restart transmission-daemon' > /etc/cron.hourly/restart-transmission
chmod +x /etc/cron.hourly/restart-transmission
from dietpi.
It's related to this high ram usage after finishing downloading. Usually if there are no leachers on the torrent when seeding the hdd goes to sleep. If I don't restart transmission after finishing a download the hdd will stay active, this applies even if I remove or pause the torrent.
from dietpi.
Hi!
Don't know if it's related but I've noticed a similar issue with Plex: start streaming something, ram usage goes up, end streaming and ram usage is stuck.
Regards
from dietpi.
Problem still persistent after last update
from dietpi.
@DesignPixelZ
But the torrents are still in place (ready for seeding). Does RAM usage remain high when you remove the torrents completely from the UI?
Of course, if you disabled seeding, then it wouldn't make sense to keep anything of these torrents in RAM/cache, but that is a different topic. AFAIK there is a way to have finished (downloaded) torrents removed automatically.
from dietpi.
@DesignPixelZ But the torrents are still in place (ready for seeding). Does RAM usage remain high when you remove the torrents completely from the UI?
Yes RAM usage remains high even when removing the torrents completely from the UI.
Of course, if you disabled seeding, then it wouldn't make sense to keep anything of these torrents in RAM/cache, but that is a different topic. AFAIK there is a way to have finished (downloaded) torrents removed automatically.
Seeding wasn't disabled, It didn't had any leaches at the moment.
After restarting transmission and letting it seed for a while everything seems to be normal. The bug seems to occur only after finishing to download a torrent.
from dietpi.
Okay, as others reported something similar even with recent Transmission versions, we should report this to either Debian or upstream. Would be good to replicate the issue with a public and legal test torrent, so we can write down steps to replicate the issue. Not exactly what I was looking for, but one of those might just do the job: https://whirlpool.net.au/wiki/test_torrents
Would be also good to verify on Debian Trixie/Sid. I'll do so when I find time on a VM.
from dietpi.
Until this gets fixed is there any way to make it reload the service every hour?
I don't have access to reload it manually every time I'm downloading something.
from dietpi.
I doubt this is something we can fix for our end. However, you could add a crontab entry to restart the service regularly.
from dietpi.
Doing restarts without explicit knowledge of admin/user is problematic IMO and causes other confusion/problems. I am also not sure whether the raising RAM usage is a problem for everyone, probably many do not recognise it, when their systems have sufficient RAM or do downloads only casually. So let's keep this as possible workaround here, for those, who really have issues with it.
But we should test and in case report to to Debian and/or upstream.
from dietpi.
I have enough RAM to not care about it, but, from what I've seen it also prevents the HDD from sleeping and that may damage it on the long run since is not a SSD.
Thanks for the script! I will probably switch to other torrent client in the future until it gets fixed. And when I have the time I will do a fresh install of dietpi and report if the problem persists.
from dietpi.
Do you have a swapfile on that external drive? Or is it then really that Transmission somehow keeps the downloaded files from even removed (GUI-wise) torrents open in a way that keeps that drive busy as well?
from dietpi.
Experiencing the same issue with qBittorrent
I will try a clean install.
from dietpi.
I can confirm that I'm having the same issue after a clean install of DietPi.
How it should be... (after reboot).
Edit: I think this may be normal. Downloaded a bigger file and it gets back to 189-ish MB instead of getting stuck at 900+ MB like the image above. So... yeah... I don't know what it was but, it was something.
from dietpi.
Related Issues (20)
- Orange Pi Zero 3 | 1.5 GB RAM variant looses Ethernet adapter on soft reboot HOT 9
- DietPi-Software | LXQt: Install fails on RISC-V HOT 7
- Nanopi R6C : nvme M2 disk not detected HOT 2
- Nginx restart fails after install of LetsEncrypt from DietPi-Launcher (on VM) HOT 1
- ROCK 4 SE | Onboard WiFi not working HOT 14
- dietpi - problem at `apt-get -y -eany update` HOT 1
- [Pine64] Update from v8.25.1 to 9.1.1 fail HOT 4
- i2cdetect -y 1 not working
- ncurses-term prompt doesn't install anything because of no root permissions HOT 3
- issue rpi-eeprom-config -e HOT 2
- tvheadend from Cloudsmith repository is not ARMv6-compatible HOT 15
- hat
- NanoPi R5S | eth0 not configured on reboot HOT 21
- Open Beta v9.2 | Please help testing and hardening our upcoming release HOT 3
- Update DietPi from v8.22.3 to v8.25.2 HOT 3
- Installing MATE alongside other WMs during initial setup causes a package conflict HOT 1
- Impossible to connect to FREEBOX server (first boot) HOT 4
- nanopi r6c dietpi-update failed. HOT 4
- Boot stuck at bluetooth.target HOT 1
- Update from old 6.x version broken HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dietpi.