• Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below
  • Forum
  • Website
  • GitHub
  • Status
  • Translation
  • Features
  • Team
  • Rules
  • Help
  • Feeds
User Links
  • Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below

    Useful Links Forum Website GitHub Status Translation Features Team Rules Help Feeds
    Jellyfin Forum Support Troubleshooting SOLVED: Movie playback pauses every X minutes

     
    • 0 Vote(s) - 0 Average

    SOLVED: Movie playback pauses every X minutes

    calthejuggler
    Offline

    Junior Member

    Posts: 1
    Threads: 1
    Joined: 2024 Dec
    Reputation: 0
    Country:United Kingdom
    #1
    2024-12-15, 04:48 PM (This post was last modified: 2024-12-15, 07:14 PM by calthejuggler. Edited 2 times in total.)
    Hello there!

    I am having an issue where all the movies on my Jellyfin server seem to pause after a consistent period of time. I can then get it to restart by clicking back to the menu, re-selecting the movie and fast forwarding to the part I was at. For example, if the movie pauses after 1 hour, once I've got it back again, it will then pause at hour 2. If the movies pauses at 45 minutes, it will then pause at 1hr 30m. I assumed this was a memory problem, so I went into Grafana to check and it seems like my cache is filling up, dropping, filling up etc.
    [Some of my grafana graphs where the memory cache increases, drops, increases, drops as I restart the movie. The swapfile usage is quite high.]https://pasteboard.co/AzNlSBuTuVrM.png[/img]

    From this, I realised my swapfile was only 1GB, which I thought could be the problem, but I have now increased it to 24GB (1.5x my RAM capacity) and I am receiving the same problem:
    [A more recent screenshot of my Grafana board, where the memory ran out quickly, but the swapfile is not being used nearly as heavily]https://pasteboard.co/fDNAuga23Avl.png[/img]

    Now, I'm not sure what my next move should be an was wondering if there are any common causes of such a problem? I've had a search on the forums, but I couldn't find my exact issue. It's not a major problem, just a minor annoyance Grinning-cat It seems to be server related, as it happens no matter which client I use.

    My server specs:

    [*]- Jellyfin version: 10.10.3
    - Installation: Linux Docker (jellyfin/jellyfin:latest) with docker compose
    - OS: Debian GNU/Linux 12 (bookworm) x86_64
    - CPU: Intel i5-7500 (4) @ 3.800GHz
    - GPU: Intel HD Graphics 630
    - Memory: 16GB

    My compose.yml is as follows:

    services:
      jellyfin:
        image: jellyfin/jellyfin:latest
        container_name: jellyfin
        user: 1000:1000
        group_add:
          - 44
          - 105
        network_mode: 'host'
        environment:
          TZ: Europe/London
        volumes:
          - ./configConfused-faceconfig:rw
          - ./cacheConfused-facecache:rw
          - /dev/shmConfused-facetranscode:rw
          - type: bind
            source: /mnt/media/library
            target: /media
        devices:
          - /dev/dri/card0Confused-facedev/dri/card0
          - /dev/dri/renderD128Confused-facedev/dri/renderD128
        restart: 'unless-stopped'

    And finally, my Jellyfin log:
    https://pastebin.com/EykKLVBD
    and my ffmpeg log:
    https://pastebin.com/Ahd3XEwp

    Both of these logs are from the first Grafana image above. I believe I was watching "Shaun of the Dead" Smiling-face

    Happy to provide any more information. I'm very interested to know where the first ports of call to check out are.

    Thank you in advance!

    [*]EDIT:
    [*]This seems to have been solved by turning on "Delete segments" in Admin>Playback>Transcoding. The graphs I have provided above, are still peaking in the same way, but the "Memory committed" graph has an interesting difference:
    https://pasteboard.co/COmQIPrLPMKj.png
    [*]The red line shows where I upped my swapfile size, I then try to watch something to test which paused at 16:03-ish. Note the absolute cap that causes the straight line from the area chart. After turning on "Delete segments", there is still a peak, but it is "wavy". This makes me feel like the memory just caps out and can't take any more.

    [*]Some questions I have now are about why my swapfile doesn't seem to be doing very much at all, but I'm just happy my movies are playing through Smiling-face
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    Messages In This Thread
    Movie playback pauses every X minutes - by calthejuggler - 2024-12-15, 04:48 PM
    RE: Movie playback pauses every X minutes - by TheDreadPirate - 2024-12-15, 07:41 PM

    • View a Printable Version
    • Subscribe to this thread
    Forum Jump:

    Home · Team · Help · Contact
    © Designed by D&D - Powered by MyBB
    L


    Jellyfin

    The Free Software Media System

    Linear Mode
    Threaded Mode