• 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 Library Scan

    Pages (2): « Previous 1 2

     
    • 0 Vote(s) - 0 Average

    Library Scan

    Library doesn't scan automaticly anymore
    Jedich
    Offline

    Junior Member

    Posts: 13
    Threads: 2
    Joined: 2025 Mar
    Reputation: 0
    Country:Germany
    #11
    2025-04-01, 06:57 PM
    (2025-04-01, 05:14 PM)TheDreadPirate Wrote: Additionally, you should disable the startup job called "Cleanup collections and playlists".  Dashboard > Scheduled Tasks > Cleanup collections and playlists.  Remove the startup trigger.

    Done. Thanks


    (2025-04-01, 05:14 PM)TheDreadPirate Wrote: If you have real time monitoring enabled, you should disable it.
    None i have extra activated. Or you're meaning one of the Options within JellyFin?

    Thats my Shedules.
    [Image: 1.png]
    NAS Syno 1821+ & DX517 | 13x Seagate Exos X20 @22TB 
    Docker Plex 1.41.3.9314 | Docker Tautulli 2.15.1  
    Docker JellyFin 10.10.6 | Docker JellyStat 1.1.3 
    Docker Oscam 2.25.01 

    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #12
    2025-04-01, 08:40 PM
    Real time monitoring is a setting in each library.
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    Jedich
    Offline

    Junior Member

    Posts: 13
    Threads: 2
    Joined: 2025 Mar
    Reputation: 0
    Country:Germany
    #13
    2025-04-02, 07:10 AM
    Yes, thats activated by default and should be active. Like its said: Changes to files are processed immediately on supported file systems. (google translated)

    Question is when all works fine at the first time, why its not anymore? I didnt do nothing in the Setup only added Jellystat. And btw JellyStat has also an active monitoring i think. I shutdown JellyStat, but its still the same.

    Also the Log says again:
    System.IO.IOException: The configured user limit (8192) on the number of inotify watches has been reached, or the operating system failed to allocate a required resource.
    But to other Libraries: [INF] [89] Emby.Server.Implementations.IO.LibraryMonitor: Watching directory "/media1/..."

    Is there any option i can set the number of inotify higher?
    and what about the allocating a required resource? what is that mean?
    NAS Syno 1821+ & DX517 | 13x Seagate Exos X20 @22TB 
    Docker Plex 1.41.3.9314 | Docker Tautulli 2.15.1  
    Docker JellyFin 10.10.6 | Docker JellyStat 1.1.3 
    Docker Oscam 2.25.01 

    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #14
    2025-04-02, 01:52 PM (This post was last modified: 2025-04-02, 01:53 PM by TheDreadPirate. Edited 1 time in total.)
    When you are using network storage, real time monitoring should be DISABLED. With NFS, it straight up doesn't work AFAIK. With SMB the default inotify limits are insufficient for a typical Jellyfin library.

    You can increase the limit of inotify watches, but I don't recommend it.

    https://www.suse.com/support/kb/doc/?id=000020048

    If you need more frequent scans, decreasing the interval of the library scan task is my recommendation. The default is every 12 hours.
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    Jedich
    Offline

    Junior Member

    Posts: 13
    Threads: 2
    Joined: 2025 Mar
    Reputation: 0
    Country:Germany
    #15
    2025-04-02, 03:55 PM
    so in short:
    Real Time Monitoring of each Library should be disabled.
    The only thing that scan the Library then is the Shedule thats set to 12hours, bc of a large Library.

    Why not incrase the Limit of inotify watches? Had bad Experience with that? or heard something bad about it?

    Some of my Libraries are still watched:
    [2025-03-31 20:41:13.355 +00:00] [INF] [128] Emby.Server.Implementations.IO.LibraryMonitor: Watching directory "/media1/...1"
    [2025-03-31 20:41:13.355 +00:00] [INF] [148] Emby.Server.Implementations.IO.LibraryMonitor: Watching directory "/media1/...2"

    Some not, so increasing the inotify could be the solution, but i dunno why this isnt recommended.
    NAS Syno 1821+ & DX517 | 13x Seagate Exos X20 @22TB 
    Docker Plex 1.41.3.9314 | Docker Tautulli 2.15.1  
    Docker JellyFin 10.10.6 | Docker JellyStat 1.1.3 
    Docker Oscam 2.25.01 

    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #16
    2025-04-02, 04:05 PM
    Each inotify watcher uses a fixed amount of memory. Increasing the number of inotify watchers increases memory usage on the server hosting the network share. Depending on how large your library is, that could mean hundreds of MBs or GBs more memory usage to have enough inotify watchers for your library. Not sure if there is any CPU overhead associated with that.

    The default 12 hour schedule for the library scan job is just an arbitrary interval. Most library updates should only take a few minutes to complete, but can take longer if you add a lot of new content at once or you enabled chapter image extraction and trickplay creation on library scan.

    It is up to you to determine what is an appropriate interval both for your needs and for your system's capabilities.
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    Jedich
    Offline

    Junior Member

    Posts: 13
    Threads: 2
    Joined: 2025 Mar
    Reputation: 0
    Country:Germany
    #17
    2025-04-02, 06:08 PM
    Memory and CPU are both fine and most of the time sleepin. Even if then only CPU goes a bit high, but not really that i would get afraid of.

    Normally i dont want to setup any files for increasing some things like that. i like it whens it works from scratch with setting up only JF Settings, not outside JF stuff like inotify.

    Yeah i got a big library.
    So i try this Setup now and see if this maybe works:
    - All Libraries has a disabled real time monitoring
    - Only 2 Shedules for Media Scan are activ: 1) Daily at 00:00 and 2) Every 15min with a Limit of 1 hour.

    15min may be to often, but thats just so see if this works /scan the Library.
    NAS Syno 1821+ & DX517 | 13x Seagate Exos X20 @22TB 
    Docker Plex 1.41.3.9314 | Docker Tautulli 2.15.1  
    Docker JellyFin 10.10.6 | Docker JellyStat 1.1.3 
    Docker Oscam 2.25.01 

    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #18
    2025-04-02, 06:41 PM
    inotify is not something you add. It is built into Linux and is the mechanism that Jellyfin uses for real time monitoring. I see you have a Synology NAS, which I'm assuming has all your content. Because of their OS is pretty locked down, even though it is Linux, I'm not sure you could even increase the number of inotify watchers.
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    Jedich
    Offline

    Junior Member

    Posts: 13
    Threads: 2
    Joined: 2025 Mar
    Reputation: 0
    Country:Germany
    #19
    2025-04-02, 08:17 PM (This post was last modified: 2025-04-02, 08:19 PM by Jedich. Edited 1 time in total.)
    (2025-04-02, 06:41 PM)TheDreadPirate Wrote: inotify is not something you add.  It is built into Linux and is the mechanism that Jellyfin uses for real time monitoring.
     
    yeah i got it. what i was trying to say was i'm not a fan of setting up any other options outside JF. I play with JF and try to get it well as i had plex before. At Plex there was no need to change anything within my NAS regarding to the Scan Issue. tbh yes, even Plex didnt scan my Library when i put some new Stuff into it, but the Shedule works without any issue, and that was okay for me.
    I would be happy if this would work with JF at least.

    (2025-04-02, 06:41 PM)TheDreadPirate Wrote: I see you have a Synology NAS, which I'm assuming has all your content.
     
    Right, all my Contents are on my NAS.

    (2025-04-02, 06:41 PM)TheDreadPirate Wrote: Because of their OS is pretty locked down, even though it is Linux, I'm not sure you could even increase the number of inotify watchers.
     
    Maybe, i dont know and these would be my last option if JF cant scan my Library properly with the Shedule i set.

    btw English is not my native language, sorry if there's any misunderstood.
    NAS Syno 1821+ & DX517 | 13x Seagate Exos X20 @22TB 
    Docker Plex 1.41.3.9314 | Docker Tautulli 2.15.1  
    Docker JellyFin 10.10.6 | Docker JellyStat 1.1.3 
    Docker Oscam 2.25.01 

    Pages (2): « Previous 1 2

    « 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