• 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 Media Scanning & Identification SOLVED: media scan takes a long time

    Pages (2): 1 2 Next »

     
    • 0 Vote(s) - 0 Average

    SOLVED: media scan takes a long time

    media scans take way to long
    SuperficialNight
    Offline

    Junior Member

    Posts: 25
    Threads: 7
    Joined: 2023 Dec
    Reputation: 0
    #1
    2023-12-20, 05:27 PM (This post was last modified: 2023-12-20, 05:53 PM by SuperficialNight. Edited 2 times in total.)
    I have a dir with around 8000 videos. Total, all have thumbnails, etc.

    They are populated with metadata already from previous scans, but regardless, the scans can take up to 4-6 hours to scan just that one folder. If everything is already there, it should be a lot shorter.

    I'm doing a scan media library right now.

    I did some investigations. It seems ffmpeg is constantly running in the background and actively writing to disk, regardless if anyone is connected or if a scan is actively happening.

    Is there some settings in the libraries that could cause this or maybe something I'm doing wrong?

    Edit:
    Could it also be due to low core counts?

    Edit2:
    it seems to be writing to my home dir im assuming it possibly is writing to .cache/jellyfin
    img link
    Go to solution
    tmsrxzar
    Offline

    Senior Member

    Posts: 755
    Threads: 6
    Joined: 2023 Nov
    Reputation: 20
    #2
    2023-12-20, 05:32 PM
    disable these 2 in your library entries

    Enable chapter image extraction
    Extract chapter images during the library scan
    SuperficialNight
    Offline

    Junior Member

    Posts: 25
    Threads: 7
    Joined: 2023 Dec
    Reputation: 0
    #3
    2023-12-20, 05:49 PM
    (2023-12-20, 05:32 PM)tmsrxzar Wrote: disable these 2 in your library entries

    Enable chapter image extraction
    Extract chapter images during the library scan

    Thanks for the reply but i already have them off so its not those settings

    img link
    Venson
    Offline

    Moderator, Server Dev, XBox Maintainer

    Posts: 379
    Threads: 7
    Joined: 2023 Jun
    Reputation: 15
    Country:Germany
    #4
    2023-12-20, 05:52 PM
    What plugins do you have enabled?
    typos are finders, keepers.
    Next Jellyfin release 10.11.0 will be Soon™
    Soon™ is an unregistered trademark of Jellyfin International
    tmsrxzar
    Offline

    Senior Member

    Posts: 755
    Threads: 6
    Joined: 2023 Nov
    Reputation: 20
    #5
    2023-12-20, 05:52 PM
    then for further recommendations i would need to see the server log and get the server specs
    *some plugins also cause high utilization
    SuperficialNight
    Offline

    Junior Member

    Posts: 25
    Threads: 7
    Joined: 2023 Dec
    Reputation: 0
    #6
    2023-12-20, 05:55 PM
    (2023-12-20, 05:52 PM)Venson Wrote: What plugins do you have enabled?

    I have these enabled

    img link
    Venson
    Offline

    Moderator, Server Dev, XBox Maintainer

    Posts: 379
    Threads: 7
    Joined: 2023 Jun
    Reputation: 15
    Country:Germany
    #7
    2023-12-20, 06:16 PM
    Well i would point onto the Subtitle extract plugin causing the high utilization.
    typos are finders, keepers.
    Next Jellyfin release 10.11.0 will be Soon™
    Soon™ is an unregistered trademark of Jellyfin International
    SuperficialNight
    Offline

    Junior Member

    Posts: 25
    Threads: 7
    Joined: 2023 Dec
    Reputation: 0
    #8
    2023-12-20, 06:41 PM
    (2023-12-20, 06:16 PM)Venson Wrote: Well i would point onto the Subtitle extract plugin causing the high utilization.

    Does not seem to be it here are some images

    ffmpeg sessions

    cpu usage and home dir i/o usage

    Note the I/O and the low CPU usage. The HDD where everything is stored has no reads or writes; its only activity is on the home partition.
    Venson
    Offline

    Moderator, Server Dev, XBox Maintainer

    Posts: 379
    Threads: 7
    Joined: 2023 Jun
    Reputation: 15
    Country:Germany
    #9
    2023-12-20, 06:44 PM (This post was last modified: 2023-12-20, 06:46 PM by Venson. Edited 2 times in total.)
    Could you please upload your latest logfile to an external site like pastebin? Without seeing the arguments for the ffmpeg processes i cannot tell you what they are doing.

    Also, are you running two jellyfin instances at once?
    typos are finders, keepers.
    Next Jellyfin release 10.11.0 will be Soon™
    Soon™ is an unregistered trademark of Jellyfin International
    SuperficialNight
    Offline

    Junior Member

    Posts: 25
    Threads: 7
    Joined: 2023 Dec
    Reputation: 0
    #10
    2023-12-20, 07:08 PM (This post was last modified: 2023-12-20, 07:36 PM by SuperficialNight. Edited 1 time in total.)
    (2023-12-20, 06:44 PM)Venson Wrote: Could you please upload your latest logfile to an external site like pastebin? Without seeing the arguments for the ffmpeg processes i cannot tell you what they are doing.

    Also, are you running two jellyfin instances at once?

    where are log files generated to?


    .local/share/jellyfin/log

    if it is that then there are logs from a few days ago inside it but no recent ones

    Edit: 
    nevermind i figured it out

    give me a few
    Pages (2): 1 2 Next »

    « Next Oldest | Next Newest »

    Users browsing this thread: 1 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