Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

agnos.is Forums

  1. Home
  2. Tech
  3. Jellyfin Buffering Slow Torrents

Jellyfin Buffering Slow Torrents

Scheduled Pinned Locked Moved Tech
selfhosted
21 Posts 5 Posters 180 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M This user is from outside of this forum
    M This user is from outside of this forum
    [email protected]
    wrote on last edited by
    #1

    I have been having a few issues recently, and I can't quite figure out what is causing this. My setup:

    • gigabit WAN up and down. Run speed tests regularly and get 800+ mbps up and down.
    • opnsense router VM (proxmox) running on a lenovo m920x. Installed an intel 2x10gbe card.
    • Sodola 10gbe switch
    • TrueNAS server (bare metal) w/ 10gbe serving the media files over NFS, stored on a ZFS mirror.
    • Jellyfin LXC
    • debian LXC running the arr stack w/ qbittorrent
    • NVidia Shield w/ ethernet

    First issue is extremely slow downloads on qbittorrent. Even if I download an ubuntu iso with hundreds of seeders will sit around 1 mibps. Media downloads with ~10 seeders, I'll sit around 200kibps. Running this through gluetun and protonvpn wireguard with port forwarding enabled and functioning.

    Second issue I'm having is if I am downloading anything on qbittorrent, and attempt to play a 4k remux on Jellyfin, it is constantly buffering. If I stop all downloads, immediately the movie plays without issue. 1080 files play without issue all the time.

    I tried spinning up a new LXC with qbittorrent, and can download ubuntu isos at 30+ mibps locally and not over NFS.

    Any idea what could be causing this? Is this a read/write issue on my TrueNAS server? Networking issuing causing the NFS to be slow? I've run iperf to the TrueNAS and getting 9+gbps.

    J averagegoob@lemmy.worldA K 3 Replies Last reply
    1
    0
    • System shared this topic on
    • M [email protected]

      I have been having a few issues recently, and I can't quite figure out what is causing this. My setup:

      • gigabit WAN up and down. Run speed tests regularly and get 800+ mbps up and down.
      • opnsense router VM (proxmox) running on a lenovo m920x. Installed an intel 2x10gbe card.
      • Sodola 10gbe switch
      • TrueNAS server (bare metal) w/ 10gbe serving the media files over NFS, stored on a ZFS mirror.
      • Jellyfin LXC
      • debian LXC running the arr stack w/ qbittorrent
      • NVidia Shield w/ ethernet

      First issue is extremely slow downloads on qbittorrent. Even if I download an ubuntu iso with hundreds of seeders will sit around 1 mibps. Media downloads with ~10 seeders, I'll sit around 200kibps. Running this through gluetun and protonvpn wireguard with port forwarding enabled and functioning.

      Second issue I'm having is if I am downloading anything on qbittorrent, and attempt to play a 4k remux on Jellyfin, it is constantly buffering. If I stop all downloads, immediately the movie plays without issue. 1080 files play without issue all the time.

      I tried spinning up a new LXC with qbittorrent, and can download ubuntu isos at 30+ mibps locally and not over NFS.

      Any idea what could be causing this? Is this a read/write issue on my TrueNAS server? Networking issuing causing the NFS to be slow? I've run iperf to the TrueNAS and getting 9+gbps.

      J This user is from outside of this forum
      J This user is from outside of this forum
      [email protected]
      wrote on last edited by
      #2

      You need to remove a bunch of variables here to even start getting down to what may be the issue, but I'm guessing it's just the networking.

      • did you run speed tests over protonvpn and is this a paid plan?
      • have you tested what your Ubuntu download speed is without VPN or gluetun in the way?
      • have you looked at the peer and tracker info to see what's going on there?
      • have you tried another torrent client to rule out config issues with qbittorrent?
      M 1 Reply Last reply
      0
      • J [email protected]

        You need to remove a bunch of variables here to even start getting down to what may be the issue, but I'm guessing it's just the networking.

        • did you run speed tests over protonvpn and is this a paid plan?
        • have you tested what your Ubuntu download speed is without VPN or gluetun in the way?
        • have you looked at the peer and tracker info to see what's going on there?
        • have you tried another torrent client to rule out config issues with qbittorrent?
        M This user is from outside of this forum
        M This user is from outside of this forum
        [email protected]
        wrote on last edited by
        #3

        Hey pal super helpful follow up questions! Here is where I am:

        J C 2 Replies Last reply
        0
        • M [email protected]

          Hey pal super helpful follow up questions! Here is where I am:

          J This user is from outside of this forum
          J This user is from outside of this forum
          [email protected]
          wrote on last edited by
          #4

          Are all your containers running in bridged mode or host mode?

          M 1 Reply Last reply
          0
          • projectmoonP projectmoon shared this topic on
          • M [email protected]

            Hey pal super helpful follow up questions! Here is where I am:

            C This user is from outside of this forum
            C This user is from outside of this forum
            [email protected]
            wrote on last edited by
            #5

            I've accidentally turned on speed limits in Qbit before

            M 1 Reply Last reply
            0
            • M [email protected]

              I have been having a few issues recently, and I can't quite figure out what is causing this. My setup:

              • gigabit WAN up and down. Run speed tests regularly and get 800+ mbps up and down.
              • opnsense router VM (proxmox) running on a lenovo m920x. Installed an intel 2x10gbe card.
              • Sodola 10gbe switch
              • TrueNAS server (bare metal) w/ 10gbe serving the media files over NFS, stored on a ZFS mirror.
              • Jellyfin LXC
              • debian LXC running the arr stack w/ qbittorrent
              • NVidia Shield w/ ethernet

              First issue is extremely slow downloads on qbittorrent. Even if I download an ubuntu iso with hundreds of seeders will sit around 1 mibps. Media downloads with ~10 seeders, I'll sit around 200kibps. Running this through gluetun and protonvpn wireguard with port forwarding enabled and functioning.

              Second issue I'm having is if I am downloading anything on qbittorrent, and attempt to play a 4k remux on Jellyfin, it is constantly buffering. If I stop all downloads, immediately the movie plays without issue. 1080 files play without issue all the time.

              I tried spinning up a new LXC with qbittorrent, and can download ubuntu isos at 30+ mibps locally and not over NFS.

              Any idea what could be causing this? Is this a read/write issue on my TrueNAS server? Networking issuing causing the NFS to be slow? I've run iperf to the TrueNAS and getting 9+gbps.

              averagegoob@lemmy.worldA This user is from outside of this forum
              averagegoob@lemmy.worldA This user is from outside of this forum
              [email protected]
              wrote on last edited by
              #6

              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.

              M 1 Reply Last reply
              0
              • C [email protected]

                I've accidentally turned on speed limits in Qbit before

                M This user is from outside of this forum
                M This user is from outside of this forum
                [email protected]
                wrote on last edited by
                #7

                confirmed all speed limits are off

                1 Reply Last reply
                0
                • J [email protected]

                  Are all your containers running in bridged mode or host mode?

                  M This user is from outside of this forum
                  M This user is from outside of this forum
                  [email protected]
                  wrote on last edited by
                  #8

                  The Jellyfin LXC has 4 core, and the Arr stack w/ qbittorrent LXC also has 4 cores. The containers are running in bridge mode.

                  J 1 Reply Last reply
                  0
                  • averagegoob@lemmy.worldA [email protected]

                    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.

                    M This user is from outside of this forum
                    M This user is from outside of this forum
                    [email protected]
                    wrote on last edited by
                    #9

                    The qbittorrent docker container runs on an LXC. The LXC has 4 cores and 8 GB memory.

                    1 Reply Last reply
                    0
                    • M [email protected]

                      The Jellyfin LXC has 4 core, and the Arr stack w/ qbittorrent LXC also has 4 cores. The containers are running in bridge mode.

                      J This user is from outside of this forum
                      J This user is from outside of this forum
                      [email protected]
                      wrote on last edited by
                      #10

                      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.

                      M 1 Reply Last reply
                      0
                      • J [email protected]

                        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.

                        M This user is from outside of this forum
                        M This user is from outside of this forum
                        [email protected]
                        wrote on last edited by
                        #11

                        One other thing I changed recently is the motherboard on the NAS. The new one is DDR5 and I didnt have another machine that takes ddr5 to run the new ram through men test, and I didnt want any downtime so I didnt do it. I just powered down the NAS and started memtest. Do you think a bad stick of ram could be the culprit? At this point in just trying to rule things out

                        J 1 Reply Last reply
                        0
                        • M [email protected]

                          One other thing I changed recently is the motherboard on the NAS. The new one is DDR5 and I didnt have another machine that takes ddr5 to run the new ram through men test, and I didnt want any downtime so I didnt do it. I just powered down the NAS and started memtest. Do you think a bad stick of ram could be the culprit? At this point in just trying to rule things out

                          J This user is from outside of this forum
                          J This user is from outside of this forum
                          [email protected]
                          wrote on last edited by
                          #12

                          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.

                          M 2 Replies Last reply
                          0
                          • J [email protected]

                            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.

                            M This user is from outside of this forum
                            M This user is from outside of this forum
                            [email protected]
                            wrote on last edited by
                            #13

                            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.

                            1 Reply Last reply
                            0
                            • M [email protected]

                              I have been having a few issues recently, and I can't quite figure out what is causing this. My setup:

                              • gigabit WAN up and down. Run speed tests regularly and get 800+ mbps up and down.
                              • opnsense router VM (proxmox) running on a lenovo m920x. Installed an intel 2x10gbe card.
                              • Sodola 10gbe switch
                              • TrueNAS server (bare metal) w/ 10gbe serving the media files over NFS, stored on a ZFS mirror.
                              • Jellyfin LXC
                              • debian LXC running the arr stack w/ qbittorrent
                              • NVidia Shield w/ ethernet

                              First issue is extremely slow downloads on qbittorrent. Even if I download an ubuntu iso with hundreds of seeders will sit around 1 mibps. Media downloads with ~10 seeders, I'll sit around 200kibps. Running this through gluetun and protonvpn wireguard with port forwarding enabled and functioning.

                              Second issue I'm having is if I am downloading anything on qbittorrent, and attempt to play a 4k remux on Jellyfin, it is constantly buffering. If I stop all downloads, immediately the movie plays without issue. 1080 files play without issue all the time.

                              I tried spinning up a new LXC with qbittorrent, and can download ubuntu isos at 30+ mibps locally and not over NFS.

                              Any idea what could be causing this? Is this a read/write issue on my TrueNAS server? Networking issuing causing the NFS to be slow? I've run iperf to the TrueNAS and getting 9+gbps.

                              K This user is from outside of this forum
                              K This user is from outside of this forum
                              [email protected]
                              wrote on last edited by
                              #14

                              What are the disks and how full is the pool?

                              M 1 Reply Last reply
                              0
                              • K [email protected]

                                What are the disks and how full is the pool?

                                M This user is from outside of this forum
                                M This user is from outside of this forum
                                [email protected]
                                wrote on last edited by
                                #15

                                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.

                                1 Reply Last reply
                                0
                                • J [email protected]

                                  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.

                                  M This user is from outside of this forum
                                  M This user is from outside of this forum
                                  [email protected]
                                  wrote on last edited by
                                  #16

                                  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.

                                  J 1 Reply Last reply
                                  0
                                  • M [email protected]

                                    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.

                                    J This user is from outside of this forum
                                    J This user is from outside of this forum
                                    [email protected]
                                    wrote on last edited by
                                    #17

                                    Try a test download without NFS and see what happens.

                                    M 1 Reply Last reply
                                    0
                                    • J [email protected]

                                      Try a test download without NFS and see what happens.

                                      M This user is from outside of this forum
                                      M This user is from outside of this forum
                                      [email protected]
                                      wrote on last edited by
                                      #18

                                      I tested that and I get full speeds. Upwards of 40-60mbps compared with the 1mbps I get when downloading to the NFS share

                                      J 1 Reply Last reply
                                      0
                                      • M [email protected]

                                        I tested that and I get full speeds. Upwards of 40-60mbps compared with the 1mbps I get when downloading to the NFS share

                                        J This user is from outside of this forum
                                        J This user is from outside of this forum
                                        [email protected]
                                        wrote on last edited by
                                        #19

                                        Problem solved then. You know where the bottleneck is.

                                        M 1 Reply Last reply
                                        0
                                        • J [email protected]

                                          Problem solved then. You know where the bottleneck is.

                                          M This user is from outside of this forum
                                          M This user is from outside of this forum
                                          [email protected]
                                          wrote on last edited by
                                          #20

                                          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.

                                          J 1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups