Jellyfin Buffering Slow Torrents
-
I've accidentally turned on speed limits in Qbit before
-
What resources does your qbittorrent have access to? CPU cores / Memory. I have tried running it on a Rpi and it CHUGS so I had to aggressively apply seeding limits and general # of connection limit too.
-
confirmed all speed limits are off
-
The Jellyfin LXC has 4 core, and the Arr stack w/ qbittorrent LXC also has 4 cores. The containers are running in bridge mode.
-
The qbittorrent docker container runs on an LXC. The LXC has 4 cores and 8 GB memory.
-
You have more than enough cores for each then. Probably too many. As a test, try the qbit or jellyfin one in host mode and see if the network performance changes. I'd start going down the rabbit hole of tuning bridged mode network in LXC, or just keep them on host mode.
-
-
Bad RAM wouldn't present like this. You'd more than likely never get past boot with a DDR5 board having caught it with POST tests, or you'd have thrown a kernel exception by now.
I saw you mentioned that a new LXC container didn't have the traffic problem, so this is definitely something with config somehow.
-
Good points. I will finish the memtest thats running if only to have something ruled out. After it finishes I will try attaching the NFS share to the new qbt lxc and see if i get the same slow download speeds.
-
What are the disks and how full is the pool?
-
The pool is a mirrored pair of 14TB drives. Pool is 56% full. SMART tests all pass, but the last scrub took over a week which was odd.
-
OK so I have done some additional testing:
- Memtest passed
- Added the NFS share to the new qbittorrent LXC, and the download speed dropped down to where my primary qbt is. So I believe this means it is related to the NFS share.
- Connected the NAS to a different switch. No change.
- Tried connecting to the NFS share through a different NIC in TrueNAS. No change.
- Migrated the qbt lxc to another proxmox node. No change.
- Created a new NFS share on a different pool on TrueNAS and made that the download directory for qbt. No change.
So I believe I have ruled out memory issues, NIC issues, datapool issues, and switch issues.
The problem is I don't know exactly when this started.
I did change out the motherboard on TrueNAS, and just installed the existing NVMe drives into the new motherboard and booted off of them. I did not install a new TrueNAS OS and restore a backup. Could this be an issue?
Shortly after the motherboard change, I upgraded to Electric Eel.
-
Try a test download without NFS and see what happens.
-
I tested that and I get full speeds. Upwards of 40-60mbps compared with the 1mbps I get when downloading to the NFS share
-
Problem solved then. You know where the bottleneck is.
-
Yes I'm pretty sure I've got it narrowed down to issues with NFS shares from TrueNAS. What I can't figure out is how to fix it. I may do a backup, reinstall truenas, import backup, and see of that fixes it. I'm thinking potentially its an issue from reusing my old installation with the new motherboard, processor, and corresponding hardware.
-
Just don't use NFS for large files. It's not good for that.