• 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 Jellyfin taking a lot of space

     
    • 0 Vote(s) - 0 Average

    Jellyfin taking a lot of space

    TGRubilex
    Offline

    Junior Member

    Posts: 9
    Threads: 3
    Joined: 2025 Feb
    Reputation: 0
    Country:Canada
    #1
    2025-02-26, 04:01 AM
    My jellyfin instance is taking a lot of space (almost 150 GB). It keeps increasing over time and I'm not sure why or how to check since I'm not very experienced with Linux. It is running as an LXC container on proxmox. All my media is stored on an external SMB share so It's definitely not the media itself. I do have thousands of video files so could it be something like thumbnails or subtitle files? How can I check where they are stored from jellyfin. I'm slowly running out of M.2 space so I'd like to figure this out instead of constantly resizing the container.
    Efficient_Good_5784
    Offline

    Community Moderator

    Posts: 1,167
    Threads: 3
    Joined: 2023 Jun
    Reputation: 50
    #2
    2025-02-26, 05:27 AM
    Jellyfin will store the metadata in the config directory.

    Do you have trickplays enabled? Those take up a lot of space if you have lots of media.
    TGRubilex
    Offline

    Junior Member

    Posts: 9
    Threads: 3
    Joined: 2025 Feb
    Reputation: 0
    Country:Canada
    #3
    2025-02-26, 05:35 AM
    (2025-02-26, 05:27 AM)Efficient_Good_5784 Wrote: Jellyfin will store the metadata in the config directory.

    Do you have trickplays enabled? Those take up a lot of space if you have lots of media.

    Yeah I do have them enabled, is there a setting to have them be saved with the media somehow?
    Efficient_Good_5784
    Offline

    Community Moderator

    Posts: 1,167
    Threads: 3
    Joined: 2023 Jun
    Reputation: 50
    #4
    2025-02-26, 05:53 AM
    Yes, you can go to each library's settings in the dashboard and scrolling all the way to the bottom, you'll see an option that stores them in the media location.

    You don't have to regenerate them. In the scheduled task section of the dashboard, there's a task that you can run to migrate trickplays to a new location once set.
    TGRubilex
    Offline

    Junior Member

    Posts: 9
    Threads: 3
    Joined: 2025 Feb
    Reputation: 0
    Country:Canada
    #5
    2025-02-26, 06:39 AM
    (2025-02-26, 05:53 AM)Efficient_Good_5784 Wrote: Yes, you can go to each library's settings in the dashboard and scrolling all the way to the bottom, you'll see an option that stores them in the media location.

    You don't have to regenerate them. In the scheduled task section of the dashboard, there's a task that you can run to migrate trickplays to a new location once set.

    Changed the settings and moved the trickplays images. Also checked all the other settings while in there like metadata and subtitles. I moved the general metadata and cache to my SMB as well. 

    It's still using 60GB, any other ideas why? Or is this somehow a normal size at this point?
    Efficient_Good_5784
    Offline

    Community Moderator

    Posts: 1,167
    Threads: 3
    Joined: 2023 Jun
    Reputation: 50
    #6
    2025-02-26, 06:49 AM (This post was last modified: 2025-02-26, 06:56 AM by Efficient_Good_5784. Edited 5 times in total.)
    Depending on the size/amount of media you have for Jellyfin, that can very well be normal.

    Considering you took off around 90GB in trickplays alone, it does sound like that's normal.
    Keep in mind that at default settings, a single trickplay file for a 24min show usually takes around 1MB-3MB. A 2 hour-long movie's trickplay usually takes around 5MB-8MB.
    So to get to 90GB, you need a very large library, which makes me assume 60GB for the metadata alone is normal.

    I would also like to point out that transcodes get temporarily saved in your transcode folder.
    Transcodes can take up as much space as the original video (and even more in certain cases).
    If you run out of space by transcoding, at best the transcode will fail. At worst, if your database lives on the same drive that ran out of space, you pretty much risk a corrupted database.
    Duvel
    Offline

    Member

    Posts: 69
    Threads: 9
    Joined: 2023 Jul
    Reputation: 3
    Country:Belgium
    #7
    2025-02-26, 07:51 AM (This post was last modified: 2025-02-26, 08:06 AM by Duvel. Edited 5 times in total.)
    Indeed you should check if its not your transcode cache folder that is full of chunks that were not cleaned up automatically.
    You can find where it is in your system.yaml file at "CachePath"

    Ideally this folder should be set on a different location and not on the system disk and/or same as jellyfin database,  to avoid all sort of issues: system disk full or database locks.

    I've got dozens of users and had a lot of issues with it, until I dedicated a 200GB SDD only for this (You dont need that much if you only have 1-5 users)

    Code:
    <CachePath>/cache/jellyfin</CachePath>
    <MetadataPath>/var/lib/jellyfin/metadata</MetadataPath>

    Code:
    Filesystem      1K-blocks        Used Available Use% Mounted on
    /dev/sda2        102656700    58506544  39744692  60% /
    /dev/sdd1        209610756    14199348 195411408  7% /cache
    TGRubilex
    Offline

    Junior Member

    Posts: 9
    Threads: 3
    Joined: 2025 Feb
    Reputation: 0
    Country:Canada
    #8
    2025-02-26, 04:39 PM
    Alright well I have a dozen users or so and my library will definitely keep getting bigger, so I guess I'll move the Jellyfin container to a dedicated ssd to avoid issues. Thanks for all the help!
    « Next Oldest | Next Newest »

    Users browsing this thread: 2 Guest(s)


    • 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